Module: Shoulda::Matchers
- Defined in:
- lib/shoulda/matchers/version.rb,
lib/shoulda/matchers/active_model.rb,
lib/shoulda/matchers/active_record.rb,
lib/shoulda/matchers/assertion_error.rb,
lib/shoulda/matchers/action_controller.rb,
lib/shoulda/matchers/active_model/errors.rb,
lib/shoulda/matchers/active_model/helpers.rb,
lib/shoulda/matchers/active_record/serialize_matcher.rb,
lib/shoulda/matchers/active_model/validation_matcher.rb,
lib/shoulda/matchers/action_controller/route_matcher.rb,
lib/shoulda/matchers/active_model/allow_value_matcher.rb,
lib/shoulda/matchers/active_record/association_matcher.rb,
lib/shoulda/matchers/active_model/only_integer_matcher.rb,
lib/shoulda/matchers/active_record/have_db_index_matcher.rb,
lib/shoulda/matchers/active_model/disallow_value_matcher.rb,
lib/shoulda/matchers/active_model/odd_even_number_matcher.rb,
lib/shoulda/matchers/active_record/have_db_column_matcher.rb,
lib/shoulda/matchers/active_model/exception_message_finder.rb,
lib/shoulda/matchers/action_controller/set_session_matcher.rb,
lib/shoulda/matchers/action_controller/redirect_to_matcher.rb,
lib/shoulda/matchers/active_model/ensure_length_of_matcher.rb,
lib/shoulda/matchers/action_controller/respond_with_matcher.rb,
lib/shoulda/matchers/action_controller/filter_param_matcher.rb,
lib/shoulda/matchers/active_model/validation_message_finder.rb,
lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb,
lib/shoulda/matchers/active_model/ensure_exclusion_of_matcher.rb,
lib/shoulda/matchers/active_model/ensure_inclusion_of_matcher.rb,
lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb,
lib/shoulda/matchers/action_controller/render_template_matcher.rb,
lib/shoulda/matchers/active_model/validate_uniqueness_of_matcher.rb,
lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb,
lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb,
lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb,
lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb,
lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb,
lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb,
lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb
Defined Under Namespace
Modules: ActionController, ActiveModel, ActiveRecord
Constant Summary
- VERSION =
'2.1.0'.freeze
- AssertionError =
Test::Unit has been loaded already, so we use it
MiniTest::Assertion