Skip to content

Instantly share code, notes, and snippets.

@mathildathompson
Last active August 29, 2015 13:59
Show Gist options
  • Save mathildathompson/10703113 to your computer and use it in GitHub Desktop.
Save mathildathompson/10703113 to your computer and use it in GitHub Desktop.
cucumber features/calculator.feature #To run the cucumber tests;
group :test do
gem 'cucumber-rails'
gem 'database-cleaner'
end
Feature: User sign up and registration
As a user
I want
rake db:test:clone #Need to run this anytime you make changes to the database;
capybara #Gives you the ability to express in Ruby terms,
devise login
rake db:test:prepare #Remember to run this before you migrate your databases;
gem 'devise' #bundle
rails g devise install
rails g devise:views
rails generate devise User
rake routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment