Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Ruby on Rails RSpec

Please follow the RSpec Best Practices for Ruby on Rails too:

Ruby on Rais Testing

  • Use requests specs to test API's.
  • Use controller specs to test controllers that render html.
  • Use render_views to render view with rspec.
  • Test routes implicit in controller (or requests) specs.

Use RSpec + capybara to end-to-end (or integration) tests.