Rspec Notes Day 2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what should you do in you terminal before running an rspec file?

A

bundle install

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

how do you run a rspec file on your terminal?

A

bundle exec rspec

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

what does [describe] do?

A

names the method being tested

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

what does [it] do?

A

expresses the expected behavior of the method being tested

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

what does [expect] do?

A

shows how that behavior is tested

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