Class: Test::Unit::TestCase

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

Constant Summary

Constants included from Thoughtbot::Shoulda

Thoughtbot::Shoulda::VERSION

Method Summary

Methods included from Thoughtbot::Shoulda

add_context, before_should, context, current_context, remove_context, should, should_eventually

Methods included from ThoughtBot::Shoulda::Macros

should_change, should_not_change

Methods included from ThoughtBot::Shoulda::Private

#get_options!, #model_class

Methods included from ThoughtBot::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_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 ThoughtBot::Shoulda::ActiveRecord::Macros

load_all_fixtures, 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_column, 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_values_for, should_only_allow_numeric_values_for, should_protect_attributes, should_require_acceptance_of, should_require_attributes, should_require_unique_attributes

Methods included from ThoughtBot::Shoulda::ActiveRecord::Assertions

#assert_bad_value, #assert_good_value, #assert_save, #assert_valid, #pretty_error_messages

Methods included from ThoughtBot::Shoulda::ActionMailer::Assertions

#assert_did_not_send_email, #assert_sent_email

Methods included from ThoughtBot::Shoulda::Helpers

#report!