Sha256: 7c19e87ee5afe48ff3e337486e57022c1e66e5b912d95887e882b668c615fe3f
Contents?: true
Size: 1.52 KB
Versions: 4
Compression:
Stored size: 1.52 KB
Contents
require 'shoulda/matchers/active_record/association_matcher' require 'shoulda/matchers/active_record/association_matchers/counter_cache_matcher' require 'shoulda/matchers/active_record/association_matchers/inverse_of_matcher' require 'shoulda/matchers/active_record/association_matchers/order_matcher' require 'shoulda/matchers/active_record/association_matchers/through_matcher' require 'shoulda/matchers/active_record/association_matchers/dependent_matcher' require 'shoulda/matchers/active_record/association_matchers/source_matcher' require 'shoulda/matchers/active_record/association_matchers/model_reflector' require 'shoulda/matchers/active_record/association_matchers/model_reflection' require 'shoulda/matchers/active_record/association_matchers/option_verifier' require 'shoulda/matchers/active_record/have_db_column_matcher' require 'shoulda/matchers/active_record/have_db_index_matcher' require 'shoulda/matchers/active_record/have_readonly_attribute_matcher' require 'shoulda/matchers/active_record/serialize_matcher' require 'shoulda/matchers/active_record/accept_nested_attributes_for_matcher' module Shoulda module Matchers # = Matchers for your active record models # # These matchers will test the associations for your # ActiveRecord models. # # describe User do # it { should have_one(:profile) } # it { should have_many(:dogs) } # it { should have_many(:messes).through(:dogs) } # it { should belong_to(:lover) } # end # module ActiveRecord end end end
Version data entries
4 entries across 4 versions & 1 rubygems