{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-mocks/issues/908","labels_url":"https://api.github.com/repos/rspec/rspec-mocks/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-mocks/issues/908/comments","events_url":"https://api.github.com/repos/rspec/rspec-mocks/issues/908/events","html_url":"https://github.com/rspec/rspec-mocks/pull/908","id":60421506,"number":908,"title":"Provide a message if the wrong double is used.","user":{"login":"imtayadeway","id":1710874,"avatar_url":"https://avatars.githubusercontent.com/u/1710874?v=3","gravatar_id":"","url":"https://api.github.com/users/imtayadeway","html_url":"https://github.com/imtayadeway","followers_url":"https://api.github.com/users/imtayadeway/followers","following_url":"https://api.github.com/users/imtayadeway/following{/other_user}","gists_url":"https://api.github.com/users/imtayadeway/gists{/gist_id}","starred_url":"https://api.github.com/users/imtayadeway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imtayadeway/subscriptions","organizations_url":"https://api.github.com/users/imtayadeway/orgs","repos_url":"https://api.github.com/users/imtayadeway/repos","events_url":"https://api.github.com/users/imtayadeway/events{/privacy}","received_events_url":"https://api.github.com/users/imtayadeway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-09T22:29:43Z","updated_at":"2015-03-09T23:56:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rspec/rspec-mocks/pulls/908","html_url":"https://github.com/rspec/rspec-mocks/pull/908","diff_url":"https://github.com/rspec/rspec-mocks/pull/908.diff","patch_url":"https://github.com/rspec/rspec-mocks/pull/908.patch"},"body":"If an undefined method is stubbed on an instance double, the error generator\r\nwill check to see if it is defined on the class level and provide a\r\nmessage to indicate that this may be what was meant. It also does the\r\nconverse for class doubles and instance methods.\r\n\r\nhttps://github.com/rspec/rspec-mocks/issues/838"},"comment":{"url":"https://api.github.com/repos/rspec/rspec-mocks/issues/comments/77970038","html_url":"https://github.com/rspec/rspec-mocks/pull/908#issuecomment-77970038","issue_url":"https://api.github.com/repos/rspec/rspec-mocks/issues/908","id":77970038,"user":{"login":"myronmarston","id":49391,"avatar_url":"https://avatars.githubusercontent.com/u/49391?v=3","gravatar_id":"","url":"https://api.github.com/users/myronmarston","html_url":"https://github.com/myronmarston","followers_url":"https://api.github.com/users/myronmarston/followers","following_url":"https://api.github.com/users/myronmarston/following{/other_user}","gists_url":"https://api.github.com/users/myronmarston/gists{/gist_id}","starred_url":"https://api.github.com/users/myronmarston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myronmarston/subscriptions","organizations_url":"https://api.github.com/users/myronmarston/orgs","repos_url":"https://api.github.com/users/myronmarston/repos","events_url":"https://api.github.com/users/myronmarston/events{/privacy}","received_events_url":"https://api.github.com/users/myronmarston/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T23:56:50Z","updated_at":"2015-03-09T23:56:50Z","body":"Thanks, @imtayadeway -- the implementation looks nice and simple!"}}