Class: RspecSequel::Matchers::HaveManyToManyMatcher
- Inherits:
-
Association
- Object
- Base
- Association
- RspecSequel::Matchers::HaveManyToManyMatcher
- Defined in:
- lib/rspec_sequel/matchers/have_many_to_many.rb
Instance Method Summary collapse
Methods inherited from Association
Methods inherited from Base
#failure_message, #hash_to_nice_string, #initialize, #matches?, #negative_failure_message
Constructor Details
This class inherits a constructor from RspecSequel::Base
Instance Method Details
#association_type ⇒ Object
5 6 7 |
# File 'lib/rspec_sequel/matchers/have_many_to_many.rb', line 5 def association_type :many_to_many end |
#valid?(db, i, c, attribute, options) ⇒ Boolean
9 10 11 12 13 14 |
# File 'lib/rspec_sequel/matchers/have_many_to_many.rb', line 9 def valid?(db, i, c, attribute, ) matching = super # check that association model exists, etc. matching end |