Skip to content

Instantly share code, notes, and snippets.

@rujmah
Created February 19, 2018 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rujmah/7226842df3c0874588dae5fe57d94778 to your computer and use it in GitHub Desktop.
Save rujmah/7226842df3c0874588dae5fe57d94778 to your computer and use it in GitHub Desktop.
Rails RSpec set up (Rails 5.1.5)
-d=postgresql
-T
--skip-coffee

Setup a Rails app with Rspec, PostgreSQL and proper JS

rails new --rc=.rspec --template=rspec-template.rb

gem_group :development, :test do
gem 'rspec-rails', '~> 3.7'
end
run('bundle install')
generate('rspec:install')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment