This Gist contains four successive versions of the RSpec spec/spec_helper
file, as used by a recent project.
initial-spec_helper.rb
takes the file as output byrails g rspec:install
and adds a fewTODO
comments;spec_helper-with-capybara.rb
adds Capybara settings;spec_helper-with-database_cleaner.rb
addsdatabase_cleaner
settings; and finallyspec_helper-with-simplecov.rb
addssimplecov
settings.