psyho / bogus

Fake library for Ruby
Other
359 stars 14 forks source link

Compatibility with Shoulda-Matchers #33

Closed allenwyma closed 10 years ago

allenwyma commented 10 years ago

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>
allenwyma commented 10 years ago

Sorry, spoke too soon. Turns out it was Zeus and the spec_helper not playing friendly.