Sha256: 7b8ef04ee24ede11bcf6c6fb37e51979f132821e17a293aecaa1b4e8a1799ea0

Contents?: true

Size: 912 Bytes

Versions: 37

Compression:

Stored size: 912 Bytes

Contents

require 'shoulda/matchers/active_record/association_matcher'
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/query_the_database_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

37 entries across 28 versions & 4 rubygems

Version Path
challah-1.0.0.beta3 vendor/bundle/gems/shoulda-matchers-1.5.6/lib/shoulda/matchers/active_record.rb
challah-1.0.0.beta2 vendor/bundle/gems/shoulda-matchers-1.5.6/lib/shoulda/matchers/active_record.rb
challah-1.0.0.beta vendor/bundle/gems/shoulda-matchers-1.5.6/lib/shoulda/matchers/active_record.rb
challah-1.0.0.beta vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record.rb
shoulda-matchers-1.5.6 lib/shoulda/matchers/active_record.rb
shoulda-matchers-1.5.5 lib/shoulda/matchers/active_record.rb
shoulda-matchers-1.5.4 lib/shoulda/matchers/active_record.rb
shoulda-matchers-1.5.2 lib/shoulda/matchers/active_record.rb
shoulda-matchers-1.5.1 lib/shoulda/matchers/active_record.rb
shoulda-matchers-1.5.0 lib/shoulda/matchers/active_record.rb
challah-0.9.1.beta.3 vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record.rb
devise_sociable-0.1.0 vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record.rb
challah-0.9.1.beta vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record.rb
challah-0.9.0 vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record.rb
shoulda-matchers-1.4.2 lib/shoulda/matchers/active_record.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/shoulda-matchers-1.4.1/lib/shoulda/matchers/active_record.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/shoulda-matchers-1.3.0/lib/shoulda/matchers/active_record.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.3.0/lib/shoulda/matchers/active_record.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.4.1/lib/shoulda/matchers/active_record.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/active_record.rb