Skip to content

Instantly share code, notes, and snippets.

@macarthy
Created July 13, 2011 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macarthy/1079940 to your computer and use it in GitHub Desktop.
Save macarthy/1079940 to your computer and use it in GitHub Desktop.
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 "user@test.com/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