Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save davidmccoy/10143777 to your computer and use it in GitHub Desktop.
Save davidmccoy/10143777 to your computer and use it in GitHub Desktop.
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 'jasmine'
gem 'httparty'
gem 'factory_girl_rails'
gem 'rubocop'
gem 'annotate'
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