Created
December 8, 2010 14:41
-
-
Save zedtux/733352 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature Booking | |
In order to create an agenda | |
As a user | |
I want to be able to add, edit or remove bookings | |
Scenario Outline: Delete booking | |
Given I speak <My tongue> | |
When I go to my bookings page | |
And I press "<Delete booking>" | |
Then I should see "<Booking deleted>" | |
Examples: | |
| My tongue | Delete booking | Booking deleted | | |
| English | Delete booking | Booking deleted | | |
| French | Supprimer cette réservation | La réservation a été supprimé | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given /^I speak (English|French)$/ do |tongue| | |
I18n.locale = case tongue | |
when "English" | |
:en | |
when "French" | |
:fr | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment