Created
December 11, 2012 16:03
-
-
Save chyld/4259690 to your computer and use it in GitHub Desktop.
capybara + rspec + launchy + database cleaner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group :development, :test do | |
gem 'pry-rails' | |
gem 'capybara' | |
gem 'rspec-rails' | |
gem 'launchy' | |
gem 'database_cleaner' | |
end | |
rails g rspec:install | |
added to spec_helper.rb | |
require 'capybara/rspec' | |
tests in spec/features | |
feature_spec.rb | |
RAILS_ENV=test rake db:migrate | |
edit .rspec file | |
rspec spec/features/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment