Module: Shoulda::Matchers

Defined in:
lib/shoulda/matchers/util.rb,
lib/shoulda/matchers/warn.rb,
lib/shoulda/matchers/error.rb,
lib/shoulda/matchers/version.rb,
lib/shoulda/matchers/rails_shim.rb,
lib/shoulda/matchers/independent.rb,
lib/shoulda/matchers/doublespeak.rb,
lib/shoulda/matchers/active_model.rb,
lib/shoulda/matchers/active_record.rb,
lib/shoulda/matchers/matcher_context.rb,
lib/shoulda/matchers/assertion_error.rb,
lib/shoulda/matchers/action_controller.rb,
lib/shoulda/matchers/doublespeak/world.rb,
lib/shoulda/matchers/doublespeak/double.rb,
lib/shoulda/matchers/doublespeak/structs.rb,
lib/shoulda/matchers/active_model/errors.rb,
lib/shoulda/matchers/active_model/helpers.rb,
lib/shoulda/matchers/active_model/uniqueness.rb,
lib/shoulda/matchers/doublespeak/object_double.rb,
lib/shoulda/matchers/doublespeak/double_collection.rb,
lib/shoulda/matchers/active_model/uniqueness/model.rb,
lib/shoulda/matchers/action_controller/route_params.rb,
lib/shoulda/matchers/doublespeak/stub_implementation.rb,
lib/shoulda/matchers/active_model/validation_matcher.rb,
lib/shoulda/matchers/active_record/serialize_matcher.rb,
lib/shoulda/matchers/action_controller/route_matcher.rb,
lib/shoulda/matchers/doublespeak/proxy_implementation.rb,
lib/shoulda/matchers/active_model/allow_value_matcher.rb,
lib/shoulda/matchers/active_record/association_matcher.rb,
lib/shoulda/matchers/active_model/uniqueness/namespace.rb,
lib/shoulda/matchers/active_model/numericality_matchers.rb,
lib/shoulda/matchers/active_record/association_matchers.rb,
lib/shoulda/matchers/action_controller/callback_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/uniqueness/test_models.rb,
lib/shoulda/matchers/independent/delegate_method_matcher.rb,
lib/shoulda/matchers/active_record/have_db_column_matcher.rb,
lib/shoulda/matchers/active_model/exception_message_finder.rb,
lib/shoulda/matchers/active_model/ensure_length_of_matcher.rb,
lib/shoulda/matchers/action_controller/set_session_matcher.rb,
lib/shoulda/matchers/action_controller/rescue_from_matcher.rb,
lib/shoulda/matchers/active_record/define_enum_for_matcher.rb,
lib/shoulda/matchers/action_controller/redirect_to_matcher.rb,
lib/shoulda/matchers/action_controller/filter_param_matcher.rb,
lib/shoulda/matchers/action_controller/respond_with_matcher.rb,
lib/shoulda/matchers/integrations/nunit_test_case_detection.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/validate_absence_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/have_secure_password_matcher.rb,
lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb,
lib/shoulda/matchers/active_model/uniqueness/test_model_creator.rb,
lib/shoulda/matchers/doublespeak/double_implementation_registry.rb,
lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb,
lib/shoulda/matchers/active_model/validate_uniqueness_of_matcher.rb,
lib/shoulda/matchers/action_controller/strong_parameters_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/validate_numericality_of_matcher.rb,
lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb,
lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb,
lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb,
lib/shoulda/matchers/active_record/association_matchers/order_matcher.rb,
lib/shoulda/matchers/active_record/association_matchers/source_matcher.rb,
lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb,
lib/shoulda/matchers/active_record/association_matchers/through_matcher.rb,
lib/shoulda/matchers/independent/delegate_method_matcher/stubbed_target.rb,
lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb,
lib/shoulda/matchers/active_record/association_matchers/model_reflector.rb,
lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb,
lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb,
lib/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher.rb,
lib/shoulda/matchers/active_model/numericality_matchers/comparison_matcher.rb,
lib/shoulda/matchers/active_record/association_matchers/inverse_of_matcher.rb,
lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb,
lib/shoulda/matchers/active_model/numericality_matchers/even_number_matcher.rb,
lib/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher.rb,
lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb,
lib/shoulda/matchers/active_record/association_matchers/counter_cache_matcher.rb,
lib/shoulda/matchers/independent/delegate_method_matcher/target_not_defined_error.rb

Defined Under Namespace

Modules: ActionController, ActiveModel, ActiveRecord, Independent Classes: MatcherContext

Constant Summary

TERMINAL_MAX_WIDTH =
72