Class: Test::Unit::TestCase

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

Method Summary

Methods included from Shoulda::ActionController::Macros

should_assign_to, should_filter_params, should_not_assign_to, should_not_set_the_flash, should_redirect_to, should_render_template, should_render_with_layout, should_render_without_layout, should_respond_with, should_respond_with_content_type, should_route, should_set_session, should_set_the_flash_to

Methods included from Shoulda::ActionController::Matchers

#assign_to, #filter_param, #render_with_layout, #respond_with, #respond_with_content_type, #route, #set_session, #set_the_flash

Methods included from Shoulda::ActiveRecord::Macros

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_db_indices, should_have_index, 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_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_db_index, #have_many, #have_named_scope, #have_one, #have_readonly_attribute, #validate_acceptance_of, #validate_format_of, #validate_numericality_of, #validate_presence_of, #validate_uniqueness_of

Methods included from Shoulda::Helpers

#report!

Methods included from Shoulda::ActionView::Macros

should_render_a_form, should_render_page_with_metadata

Methods included from Shoulda::Macros

should_change, should_create, should_destroy, should_not_change

Methods included from Shoulda::Private

#get_options!

Methods included from Shoulda::ClassMethods

before_should, context, described_type, should, should_eventually, subject, subject_block

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, #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

Methods included from Shoulda::InstanceMethods

#get_instance_of, #instance_variable_name_for, #subject, #subject_block