Logo: Relish

  1. Sign in

Project: RSpec Rails 2.0

RSpec Rails 2.0

rspec-rails extends Rails' built-in testing framework to support rspec examples
for requests, controllers, models, views, and helpers.


rspec-rails-2 supports rails-3.0.0 and later. For earlier versions of Rails,
you need rspec-rails-1.3.


The documentation for rspec-rails is a work in progress. We'll be adding
Cucumber features over time, and clarifying existing ones. If you have
specific features you'd like to see added, find the existing documentation
incomplete or confusing, or, better yet, wish to write a missing Cucumber
feature yourself, please submit an issue or a pull request.


  1. Controller specs
  2. Helper specs
  3. Mailer specs
  4. Matchers
  5. Mocks
  6. Model specs
  7. Routing specs
  8. View specs

Last published over 7 years ago by .