Rspec Notes Day 2 Flashcards
1
Q
what should you do in you terminal before running an rspec file?
A
bundle install
2
Q
how do you run a rspec file on your terminal?
A
bundle exec rspec
3
Q
what does [describe] do?
A
names the method being tested
4
Q
what does [it] do?
A
expresses the expected behavior of the method being tested
5
Q
what does [expect] do?
A
shows how that behavior is tested