I am using Ruby on Rails 3.2.2 and rspec-rails-2.8.1. In order to make my spec files DRY (Don\'t Repeat Yourself) and to seed the test database I would
test
You can add before/after hooks in your Rspec.configure block, usually in your spec_helper:
Rspec.configure
RSpec.configure do |config| config.before(:each) do ... end end