Table of Contents - shoulda-2.11.3 Documentation
Pages
CONTRIBUTION_GUIDELINES
README
Shoulda - Making tests easy on the fingers and eyes
Usage
ActiveRecord Tests (Shoulda::ActiveRecord::Matchers)
Controller Tests (Shoulda::Controller::Matchers)
Context Helpers (Shoulda::Context)
Helpful Assertions (Shoulda::Assertions)
Rails Installation (Test::Unit)
Rails Installation (RSpec)
Rails 3 Installation (RSpec)
Credits
License
list_tests.rake
yaml_to_shoulda.rake
Classes/Modules
ActionController
ActionMailer
ActiveRecord
ActiveSupport::ActiveSupport
Proc
Proc::object;
Shoulda
Shoulda::ActionController
Shoulda::ActionController::Macros
Macro test helpers for your controllers
Shoulda::ActionController::Matchers
Shoulda::ActionController::Matchers::AssignToMatcher
Shoulda::ActionController::Matchers::FilterParamMatcher
Shoulda::ActionController::Matchers::RedirectToMatcher
Shoulda::ActionController::Matchers::RenderTemplateMatcher
Shoulda::ActionController::Matchers::RenderWithLayout
Shoulda::ActionController::Matchers::RespondWithContentTypeMatcher
Shoulda::ActionController::Matchers::RespondWithMatcher
Shoulda::ActionController::Matchers::RouteMatcher
Shoulda::ActionController::Matchers::SetSessionMatcher
Shoulda::ActionController::Matchers::SetTheFlashMatcher
Shoulda::ActionMailer
Shoulda::ActionMailer::Assertions
Shoulda::ActionMailer::Matchers
Matchers for your mailers
Shoulda::ActionMailer::Matchers::HaveSentEmailMatcher
Shoulda::ActiveRecord
Shoulda::ActiveRecord::Assertions
Shoulda::ActiveRecord::Helpers
Shoulda::ActiveRecord::Macros
Macro test helpers for your active record models
Shoulda::ActiveRecord::Matchers
Matchers for your active record models
Shoulda::ActiveRecord::Matchers::AllowMassAssignmentOfMatcher
Shoulda::ActiveRecord::Matchers::AllowValueMatcher
Shoulda::ActiveRecord::Matchers::AssociationMatcher
Shoulda::ActiveRecord::Matchers::EnsureInclusionOfMatcher
Shoulda::ActiveRecord::Matchers::EnsureLengthOfMatcher
Shoulda::ActiveRecord::Matchers::HaveDbColumnMatcher
Shoulda::ActiveRecord::Matchers::HaveDbIndexMatcher
Shoulda::ActiveRecord::Matchers::HaveReadonlyAttributeMatcher
Shoulda::ActiveRecord::Matchers::ValidateAcceptanceOfMatcher
Shoulda::ActiveRecord::Matchers::ValidateFormatOfMatcher
Shoulda::ActiveRecord::Matchers::ValidateNumericalityOfMatcher
Shoulda::ActiveRecord::Matchers::ValidatePresenceOfMatcher
Shoulda::ActiveRecord::Matchers::ValidateUniquenessOfMatcher
Shoulda::ActiveRecord::Matchers::ValidationMatcher
Shoulda::Assertions
Shoulda::ClassMethods
Shoulda::Context
Shoulda::Helpers
Shoulda::InstanceMethods
Shoulda::Macros
Shoulda::Private
Test
Methods
#allow_mass_assignment_of — Shoulda::ActiveRecord::Matchers
#allow_value — Shoulda::ActiveRecord::Matchers
#assert_accepts — Shoulda::Assertions
#assert_bad_value — Shoulda::ActiveRecord::Assertions
#assert_contains — Shoulda::Assertions
#assert_did_not_send_email — Shoulda::ActionMailer::Assertions
#assert_does_not_contain — Shoulda::Assertions
#assert_good_value — Shoulda::ActiveRecord::Assertions
#assert_rejects — Shoulda::Assertions
#assert_same_elements — Shoulda::Assertions
#assert_save — Shoulda::ActiveRecord::Assertions
#assert_sent_email — Shoulda::ActionMailer::Assertions
#assert_valid — Shoulda::ActiveRecord::Assertions
#assign_to — Shoulda::ActionController::Matchers
#before_should — Shoulda::ClassMethods
#belong_to — Shoulda::ActiveRecord::Matchers
#construct_subject — Shoulda::InstanceMethods
#context — Shoulda::ClassMethods
#default_error_message — Shoulda::ActiveRecord::Helpers
#described_type — Shoulda::ClassMethods
#ensure_inclusion_of — Shoulda::ActiveRecord::Matchers
#ensure_length_of — Shoulda::ActiveRecord::Matchers
#filter_param — Shoulda::ActionController::Matchers
#have_and_belong_to_many — Shoulda::ActiveRecord::Matchers
#have_db_column — Shoulda::ActiveRecord::Matchers
#have_db_index — Shoulda::ActiveRecord::Matchers
#have_many — Shoulda::ActiveRecord::Matchers
#have_one — Shoulda::ActiveRecord::Matchers
#have_readonly_attribute — Shoulda::ActiveRecord::Matchers
#have_sent_email — Shoulda::ActionMailer::Matchers
#redirect_to — Shoulda::ActionController::Matchers
#render_template — Shoulda::ActionController::Matchers
#render_with_layout — Shoulda::ActionController::Matchers
#report! — Shoulda::Helpers
#respond_with — Shoulda::ActionController::Matchers
#respond_with_content_type — Shoulda::ActionController::Matchers
#route — Shoulda::ActionController::Matchers
#set_session — Shoulda::ActionController::Matchers
#set_the_flash — Shoulda::ActionController::Matchers
#should — Shoulda::ClassMethods
#should_allow_mass_assignment_of — Shoulda::ActiveRecord::Macros
#should_allow_values_for — Shoulda::ActiveRecord::Macros
#should_assign_to — Shoulda::ActionController::Macros
#should_belong_to — Shoulda::ActiveRecord::Macros
#should_change — Shoulda::Macros
#should_create — Shoulda::Macros
#should_destroy — Shoulda::Macros
#should_ensure_length_at_least — Shoulda::ActiveRecord::Macros
#should_ensure_length_in_range — Shoulda::ActiveRecord::Macros
#should_ensure_length_is — Shoulda::ActiveRecord::Macros
#should_ensure_value_in_range — Shoulda::ActiveRecord::Macros
#should_eventually — Shoulda::ClassMethods
#should_filter_params — Shoulda::ActionController::Macros
#should_have_and_belong_to_many — Shoulda::ActiveRecord::Macros
#should_have_class_methods — Shoulda::ActiveRecord::Macros
#should_have_db_column — Shoulda::ActiveRecord::Macros
#should_have_db_columns — Shoulda::ActiveRecord::Macros
#should_have_db_index — Shoulda::ActiveRecord::Macros
#should_have_db_indices — Shoulda::ActiveRecord::Macros
#should_have_instance_methods — Shoulda::ActiveRecord::Macros
#should_have_many — Shoulda::ActiveRecord::Macros
#should_have_one — Shoulda::ActiveRecord::Macros
#should_have_readonly_attributes — Shoulda::ActiveRecord::Macros
#should_not — Shoulda::ClassMethods
#should_not_allow_mass_assignment_of — Shoulda::ActiveRecord::Macros
#should_not_allow_values_for — Shoulda::ActiveRecord::Macros
#should_not_assign_to — Shoulda::ActionController::Macros
#should_not_change — Shoulda::Macros
#should_not_set_the_flash — Shoulda::ActionController::Macros
#should_redirect_to — Shoulda::ActionController::Macros
#should_render_template — Shoulda::ActionController::Macros
#should_render_with_layout — Shoulda::ActionController::Macros
#should_render_without_layout — Shoulda::ActionController::Macros
#should_respond_with — Shoulda::ActionController::Macros
#should_respond_with_content_type — Shoulda::ActionController::Macros
#should_route — Shoulda::ActionController::Macros
#should_set_session — Shoulda::ActionController::Macros
#should_set_the_flash_to — Shoulda::ActionController::Macros
#should_validate_acceptance_of — Shoulda::ActiveRecord::Macros
#should_validate_numericality_of — Shoulda::ActiveRecord::Macros
#should_validate_presence_of — Shoulda::ActiveRecord::Macros
#should_validate_uniqueness_of — Shoulda::ActiveRecord::Macros
#subject — Shoulda::ClassMethods
#subject — Shoulda::InstanceMethods
#validate_acceptance_of — Shoulda::ActiveRecord::Matchers
#validate_format_of — Shoulda::ActiveRecord::Matchers
#validate_numericality_of — Shoulda::ActiveRecord::Matchers
#validate_presence_of — Shoulda::ActiveRecord::Matchers
#validate_uniqueness_of — Shoulda::ActiveRecord::Matchers