{"action":"created","issue":{"url":"https://api.github.com/repos/lvsti/MockSix/issues/3","repository_url":"https://api.github.com/repos/lvsti/MockSix","labels_url":"https://api.github.com/repos/lvsti/MockSix/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/lvsti/MockSix/issues/3/comments","events_url":"https://api.github.com/repos/lvsti/MockSix/issues/3/events","html_url":"https://github.com/lvsti/MockSix/issues/3","id":298316919,"number":3,"title":"Strange issue with registerInvocation(andReturn)","user":{"login":"jblejder","id":17861372,"avatar_url":"https://avatars1.githubusercontent.com/u/17861372?v=4","gravatar_id":"","url":"https://api.github.com/users/jblejder","html_url":"https://github.com/jblejder","followers_url":"https://api.github.com/users/jblejder/followers","following_url":"https://api.github.com/users/jblejder/following{/other_user}","gists_url":"https://api.github.com/users/jblejder/gists{/gist_id}","starred_url":"https://api.github.com/users/jblejder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jblejder/subscriptions","organizations_url":"https://api.github.com/users/jblejder/orgs","repos_url":"https://api.github.com/users/jblejder/repos","events_url":"https://api.github.com/users/jblejder/events{/privacy}","received_events_url":"https://api.github.com/users/jblejder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-19T15:32:47Z","updated_at":"2018-02-19T16:21:43Z","closed_at":null,"author_association":"NONE","body":"On my Bitrise Ci i had series of successful builds. \r\nThen one of my test failed for class I did not change. \r\n`Fatal error: MockSix: Incompatible block of type '(Array<Optional<Any>>) throws -> Array<Colleague>' registered for function 'logIn()' requiring block type '([Any?]) -> PrimitiveSequence<SingleTrait, ()>': file /Users/vagrant/git/Pods/MockSix/Sources/MockSix/MockSixInternal.swift, line 160\r\n`\r\nI did register invocations like this:\r\n`func logIn() -> Single<Void> {\r\n    return registerInvocation(for: .logIn, andReturn: Single.just(()))\r\n}`\r\nI ran two more builds just in case and they passed."},"comment":{"url":"https://api.github.com/repos/lvsti/MockSix/issues/comments/366740911","html_url":"https://github.com/lvsti/MockSix/issues/3#issuecomment-366740911","issue_url":"https://api.github.com/repos/lvsti/MockSix/issues/3","id":366740911,"user":{"login":"lvsti","id":1321253,"avatar_url":"https://avatars2.githubusercontent.com/u/1321253?v=4","gravatar_id":"","url":"https://api.github.com/users/lvsti","html_url":"https://github.com/lvsti","followers_url":"https://api.github.com/users/lvsti/followers","following_url":"https://api.github.com/users/lvsti/following{/other_user}","gists_url":"https://api.github.com/users/lvsti/gists{/gist_id}","starred_url":"https://api.github.com/users/lvsti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvsti/subscriptions","organizations_url":"https://api.github.com/users/lvsti/orgs","repos_url":"https://api.github.com/users/lvsti/repos","events_url":"https://api.github.com/users/lvsti/events{/privacy}","received_events_url":"https://api.github.com/users/lvsti/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T16:21:43Z","updated_at":"2018-02-19T16:21:43Z","author_association":"OWNER","body":"Hi, are you calling `resetMockSix()` at the beginning of each test run?"}}
{"actor":{"display_login":"lvsti"}}