Class: Spec::Rails::Example::ModelExampleGroup
- Inherits:
-
ActiveSupport::TestCase
- Object
- ActiveSupport::TestCase
- Spec::Rails::Example::ModelExampleGroup
- Defined in:
- lib/vendor/plugins/rspec-rails/lib/spec/rails/example/model_example_group.rb
Overview
Model examples live in $RAILS_ROOT/spec/models/.
Model examples use Spec::Rails::Example::ModelExampleGroup, which provides support for fixtures and some custom expectations via extensions to ActiveRecord::Base.
Constant Summary
Constants included from Matchers
Method Summary
Methods included from Mocks
#add_stubs, #mock_model, #stub_model
Methods included from Matchers
#be_routable, #be_valid, #have_rjs, #have_tag, #have_text, #include_text, #redirect_to, #render_template, #route_to, #send_email, #with_encoded, #with_tag, #without_tag