forked from aren19-zz/hw4_rottenpotatoes
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsalida.txt
51 lines (44 loc) · 3.12 KB
/
salida.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[master 506d7b4] +++5
2 files changed, 2 insertions(+), 0 deletions(-)
create mode 100644 features/support/.paths.rb.swn
Using the default profile...
Feature: search for movies by director
As a movie buff
So that I can find movies with my favorite director
I want to include and serach on director information in movies I enter
Background: movies in database # features/search_movies.feature:7
Given the following movies exist: # features/step_definitions/movie_steps.rb:3
| title | rating | director | release_date |
| Star Wars | PG | George Lucas | 1977-05-25 |
| Blade Runner | PG | Ridley Scott | 1982-06-25 |
| Alien | R | | 1979-05-25 |
| THX-1138 | R | George Lucas | 1971-03-11 |
Scenario: add director to existing movie # features/search_movies.feature:16
When I go to the edit page for "Alien" # features/step_definitions/web_steps.rb:48
And I fill in "Director" with "Ridley Scott" # features/step_definitions/web_steps.rb:60
And I press "Update Movie Info" # features/step_definitions/web_steps.rb:52
Then the director of "Alien" should be "Ridley Scott" # features/step_definitions/movie_steps.rb:91
Scenario: find movie with same director # features/search_movies.feature:22
Given I am on the details page for "Star Wars" # features/step_definitions/web_steps.rb:44
same director
When I follow "Find Movies With Same Director" # features/step_definitions/web_steps.rb:56
Then I should be on the Similar Movies page for "Star Wars" # features/step_definitions/web_steps.rb:230
And I should see "THX-1138" # features/step_definitions/web_steps.rb:105
But I should not see "Blade Runner" # features/step_definitions/web_steps.rb:123
Scenario: can't find similar movies if we don't know director (sad path) # features/search_movies.feature:29
Given I am on the details page for "Alien" # features/step_definitions/web_steps.rb:44
Then I should not see "Ridley Scott" # features/step_definitions/web_steps.rb:123
same director
When I follow "Find Movies With Same Director" # features/step_definitions/web_steps.rb:56
Then I should be on the home page # features/step_definitions/web_steps.rb:230
expected: "/"
got: "/movies" (using ==) (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:233:in `/^(?:|I )should be on (.+)$/'
features/search_movies.feature:33:in `Then I should be on the home page'
And I should see "'Alien' has no director info" # features/step_definitions/web_steps.rb:105
Failing Scenarios:
cucumber features/search_movies.feature:29 # Scenario: can't find similar movies if we don't know director (sad path)
3 scenarios (1 failed, 2 passed)
17 steps (1 failed, 1 skipped, 15 passed)
1m3.921s
git