Test Preparation Flashcards
1
Q
How to add rpsec to the rails project?
A
gem ‘rspec-rails’
2
Q
How to generate rspec base test structure?
A
rails generate rspec:install
3
Q
How to set default test generator as rspec?
A
Add to the config/application.rb
config.generators.test_framework :rspec