Tutorial by Examples

If you want to use RSpec for a Rails project, you should use the rspec-rails gem, which can generate helpers and spec files for you automatically (for example, when you create models, resources or scaffolds using rails generate). Add rspec-rails to both the :development and :test groups in the Gem...

Page 1 of 1