Scenario: No apples left Given there are no apples When I browse the list of apples Then I should see the text "No apples left" Scenario: No apples left Given there are no apples No model found called Apple. When I browse the list of apples Then I should see the text "No apples left" + step definitions
model apple rake db:migrate Scenario: No apples left Given there are no apples When I browse the list of apples No URL pattern found matching /apples. Then I should see the text "No apples left" + step definitions
sed -i '' ' /get "apples\/index"/ a\ match "/apples" => "apples#index" ' config/routes.rb Scenario: No apples left Given there are no apples When I browse the list of apples Then I should see the text "No apples left" The text "No apples left" was not found + step definitions
When I browse the list of apples Then I should see the text "No apples left" + step definitions echo "No apples left" >| app/views/apples/ index.html.erb
left Given there are no bananas When I browse the list of bananas Then I should see the text "No bananas left" Neverfails Scenario: No bananas left Given there are no bananas When I browse the list of bananas Then I should see the text "No bananas left"