Compatibility with Shoulda-Matchers
allenwyma opened this issue · comments
Allen Wyma commented
I seem to have a problem when I include the latest shoulda-matchers (2.2.0) with Bogus (0.1.4). When I run the tests after adding in require 'bogus/rspec'
in my spec_helper.rb.
When required:
Failure/Error: it { should belong_to(:shift) }
NoMethodError:
undefined method `belong_to' for #<RSpec::Core::ExampleGroup::Nested_12:0x007fa3ca51f610>
Allen Wyma commented
Sorry, spoke too soon. Turns out it was Zeus and the spec_helper not playing friendly.