{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/785","labels_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/785/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/785/comments","events_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/785/events","html_url":"https://github.com/thoughtbot/shoulda-matchers/issues/785","id":109562731,"number":785,"title":"Association matchers broken in 3.0.0","user":{"login":"baburdick","id":24587,"avatar_url":"https://avatars.githubusercontent.com/u/24587?v=3","gravatar_id":"","url":"https://api.github.com/users/baburdick","html_url":"https://github.com/baburdick","followers_url":"https://api.github.com/users/baburdick/followers","following_url":"https://api.github.com/users/baburdick/following{/other_user}","gists_url":"https://api.github.com/users/baburdick/gists{/gist_id}","starred_url":"https://api.github.com/users/baburdick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baburdick/subscriptions","organizations_url":"https://api.github.com/users/baburdick/orgs","repos_url":"https://api.github.com/users/baburdick/repos","events_url":"https://api.github.com/users/baburdick/events{/privacy}","received_events_url":"https://api.github.com/users/baburdick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-02T20:05:36Z","updated_at":"2015-10-02T21:12:36Z","closed_at":"2015-10-02T21:10:57Z","body":"Downgrading to 2.8.0 fixes these:\r\n```\r\n     Failure/Error: it { is_expected.to belong_to(:result)         }\r\n     NoMethodError:\r\n       undefined method `belong_to' for #<RSpec::ExampleGroups::BusinessModelResult::Associations:0x000001017f0c68>\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/matchers.rb:966:in `method_missing'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb:671:in `method_missing'\r\n```\r\n```\r\n     Failure/Error: it { is_expected.to have_many(:model_results)       }\r\n       expected #<Result:0x000001074245c0> to respond to `has_many?`\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-support-3.3.0/lib/rspec/support.rb:86:in `block in <module:Support>'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-support-3.3.0/lib/rspec/support.rb:93:in `call'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-support-3.3.0/lib/rspec/support.rb:93:in `notify_failure'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/fail_with.rb:27:in `fail_with'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb:40:in `handle_failure'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/expectation_target.rb:54:in `to'\r\n```\r\n```\r\n     Failure/Error: it { is_expected.to have_one(:adverse_action_notification)   }\r\n       expected #<Result:0x0000010a01b728> to respond to `has_one?`\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-support-3.3.0/lib/rspec/support.rb:86:in `block in <module:Support>'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-support-3.3.0/lib/rspec/support.rb:93:in `call'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-support-3.3.0/lib/rspec/support.rb:93:in `notify_failure'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/fail_with.rb:27:in `fail_with'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb:40:in `handle_failure'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\r\n     # ~/.rvm/gems/ruby-2.1.2@underwriting_service/gems/rspec-expectations-3.3.1/lib/rspec/expectations/expectation_target.rb:54:in `to'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/comments/145156402","html_url":"https://github.com/thoughtbot/shoulda-matchers/issues/785#issuecomment-145156402","issue_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/785","id":145156402,"user":{"login":"maurogeorge","id":260746,"avatar_url":"https://avatars.githubusercontent.com/u/260746?v=3","gravatar_id":"","url":"https://api.github.com/users/maurogeorge","html_url":"https://github.com/maurogeorge","followers_url":"https://api.github.com/users/maurogeorge/followers","following_url":"https://api.github.com/users/maurogeorge/following{/other_user}","gists_url":"https://api.github.com/users/maurogeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/maurogeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurogeorge/subscriptions","organizations_url":"https://api.github.com/users/maurogeorge/orgs","repos_url":"https://api.github.com/users/maurogeorge/repos","events_url":"https://api.github.com/users/maurogeorge/events{/privacy}","received_events_url":"https://api.github.com/users/maurogeorge/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T21:12:36Z","updated_at":"2015-10-02T21:12:36Z","body":"Thanks :smile: "}}