Last active
March 24, 2021 04:01
-
-
Save CH-JesseMa/10008781 to your computer and use it in GitHub Desktop.
Gem for Development and Test
This file contains hidden or 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
gem 'rails_12factor' | |
group :development, :test do | |
gem 'pry-rails' | |
gem 'rspec' | |
gem 'rspec-rails' | |
gem 'guard' | |
gem 'guard-rspec' | |
gem 'guard-bundler', require: false | |
gem 'terminal-notifier-guard' | |
gem 'shoulda-matchers' | |
gem 'capybara' | |
gem 'factory_girl_rails' | |
end | |
# bundle install | |
# bundle exec rails g rspec:install | |
# bundle exec guard init:rspec | |
# In the guard file: guard :rspec, cmd: 'bundle exec rspec’ do | |
# bundle exec guard | |
# create spec file e.g. spec/models/user_spec.rb | |
# run migration: rake db:migrate RAILS_ENV=test | |
# remember to add require 'capybara/rails' to spec_helper.rb | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment