2011-02-06 13:34:32 +00:00
|
|
|
Feature: Capybara's cucumber integration
|
|
|
|
In order to integrate with the lovely plain text testing framework
|
|
|
|
As Capybara
|
|
|
|
I want to integrate successfully with Cucumber
|
|
|
|
|
|
|
|
Scenario: hello world
|
|
|
|
When I visit the root page
|
|
|
|
Then I should see "Hello world!"
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: javascript tag
|
|
|
|
When I visit the root page
|
|
|
|
Then Capybara should use the "selenium" driver
|
|
|
|
|
|
|
|
@selenium
|
|
|
|
Scenario: selenium tag
|
|
|
|
When I visit the root page
|
|
|
|
Then Capybara should use the "selenium" driver
|
2011-02-06 13:44:43 +00:00
|
|
|
|
|
|
|
Scenario: matchers
|
|
|
|
When I visit the root page
|
|
|
|
And I use a matcher that fails
|
|
|
|
Then the failing exception should be nice
|