Create new rails project without Test::Unit
rails new MYAPP -TAdd rspec-rails to your Gemfile:
gem 'rspec-rails'Choose a javascript runtime in the Gemfile:
gem 'therubyracer', :platform => :rubyRun bundle install:
bundle installInstall rspec in rails:
rails g rspec:installLet's write the first spec!
Aucun commentaire:
Enregistrer un commentaire