-
-
Save catm705/10010300 to your computer and use it in GitHub Desktop.
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 'rspec' | |
gem 'rspec-rails' | |
gem 'guard' | |
gem 'guard-rspec' | |
gem 'guard-bundler', require: false | |
gem 'terminal-notifier-guard' | |
gem 'shoulda-matchers' | |
end | |
# bundle install | |
# rails g rspec:init | |
# rails g rspec:install | |
# bundle exec guard init | |
# 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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment