jasmine-headless-webkit/features/bin/tries_to_leave_page.feature

8 lines
338 B
Gherkin
Raw Permalink Normal View History

2011-12-29 23:37:23 +00:00
Feature: Bin - Try to Leave Page
Scenario: Fail on trying to leave the page
Given there is no existing "spec/report.txt" file
When I run `bin/jasmine-headless-webkit -j spec/jasmine/leave_page/leave_page.yml -f File:spec/report.txt`
2011-12-29 23:37:23 +00:00
Then the exit status should be 1
And the report file "spec/report.txt" should exist