тест на неудачу показывает следующий журнал
(: :) неудачные шаги (::)
No route matches "/wiki/Baltimore_Ravens" (ActionController::RoutingError)
<internal:prelude>:10:in `synchronize'
./features/step_definitions/web_steps.rb:20:in `/^(?:|I )am on (.+)$/'
features/annotate.feature:7:in `Given I am on a web page'
Failing Scenarios:
cucumber features/annotate.feature:11 # Scenario: launch annotation/ logged in
56 scenarios (1 failed, 5 skipped, 50 passed)
413 steps (1 failed, 62 skipped, 350 passed)
файл с именем web_steps.rb. № строки 20 это:
19 Given /^(?:|I )am on (.+)$/ do |page_name|
20 visit path_to(page_name)
21 end
файл с именем annotate.feature. № строки 7
6 Background:
7 Given I am on a web page
8 And I am logged in