Class: Test::Unit::TestCase

Inherits:
Object
  • Object
show all
Extended by:
Shoulda::ActiveRecord::Macros, Shoulda::ClassMethods, Shoulda::Controller::Macros, Shoulda::Macros
Includes:
Shoulda::ActionMailer::Assertions, Shoulda::ActiveRecord::Assertions, Shoulda::ActiveRecord::Helpers, Shoulda::ActiveRecord::Matchers, Shoulda::Assertions, Shoulda::Controller::Helpers, Shoulda::Helpers
Defined in:
lib/shoulda/test_unit.rb,
lib/shoulda/controller.rb,
lib/shoulda/action_mailer.rb,
lib/shoulda/active_record.rb

Method Summary

Methods included from Shoulda::ClassMethods

before_should, context, should, should_eventually

Methods included from Shoulda::Macros

should_change, should_not_change

Methods included from Shoulda::Private

#get_options!, #model_class

Methods included from Shoulda::Controller::Macros

should_assign_to, should_be_restful, should_filter_params, should_not_assign_to, should_not_set_the_flash, should_redirect_to, should_render_a_form, should_render_page_with_metadata, should_render_template, should_render_with_layout, should_render_without_layout, should_respond_with, should_respond_with_content_type, should_return_from_session, should_route, should_set_the_flash_to

Methods included from Shoulda::ActiveRecord::Macros

load_all_fixtures, should_allow_mass_assignment_of, should_allow_values_for, should_belong_to, should_ensure_length_at_least, should_ensure_length_in_range, should_ensure_length_is, should_ensure_value_in_range, should_have_and_belong_to_many, should_have_class_methods, should_have_db_columns, should_have_indices, should_have_instance_methods, should_have_many, should_have_named_scope, should_have_one, should_have_readonly_attributes, should_not_allow_mass_assignment_of, should_not_allow_values_for, should_only_allow_numeric_values_for, should_protect_attributes, should_require_acceptance_of, should_require_attributes, should_require_unique_attributes, should_validate_acceptance_of, should_validate_numericality_of, should_validate_presence_of, should_validate_uniqueness_of

Methods included from Shoulda::ActiveRecord::Matchers

#allow_mass_assignment_of, #allow_value, #belong_to, #ensure_inclusion_of, #ensure_length_of, #have_and_belong_to_many, #have_db_column, #have_index, #have_many, #have_named_scope, #have_one, #have_readonly_attribute, #validate_acceptance_of, #validate_numericality_of, #validate_presence_of, #validate_uniqueness_of

Methods included from Shoulda::Helpers

#report!

Methods included from Shoulda::ActiveRecord::Assertions

#assert_bad_value, #assert_good_value, #assert_save, #assert_valid

Methods included from Shoulda::ActiveRecord::Helpers

#default_error_message, #get_instance_of, #instance_variable_name_for, #pretty_error_messages

Methods included from Shoulda::ActionMailer::Assertions

#assert_did_not_send_email, #assert_sent_email

Methods included from Shoulda::Assertions

#assert_accepts, #assert_contains, #assert_does_not_contain, #assert_rejects, #assert_same_elements