Test Preparation Flashcards

1
Q

How to add rpsec to the rails project?

A

gem ‘rspec-rails’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to generate rspec base test structure?

A

rails generate rspec:install

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to set default test generator as rspec?

A

Add to the config/application.rb

config.generators.test_framework :rspec

How well did you know this?
1
Not at all
2
3
4
5
Perfectly