Reputation: 131112
What's the best practice for getting RSpec / Autotest going on a Rails project?
I googled some stuff but it feels like it may be out of date.
Upvotes: 1
Views: 338
Reputation: 9594
It's fairly straightforward (for Rails3/Bundler):
Gemfile:
group :development, :test do
gem 'rspec-rails'
gem 'ZenTest'
gem 'autotest-rails'
end
And then:
$ rails generate rspec:install
$ autotest
And you're set.
Upvotes: 3