Created
July 13, 2011 08:37
-
-
Save macarthy/1079940 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Background: | |
Given a product called "VCF-999" | |
And it has a description "A alignment and variant calling pipeline" | |
And it costs "$999" | |
Scenario: Adding the product to my basket | |
Given I am signed in as "[email protected]/please" | |
When I go to the homepage | |
And I press "VCF-999" | |
Then I should see in "my_basket" | |
And "my_basket" should have "1" "products" | |
And span "name" should be "VCF-999" | |
And span "description" should be "my lovely product" | |
And span "total" should be "$999" | |
Then /^(.*) should contain (.*) (.*)(s?)$/ do |container,number,item| | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment