Skip to content

Instantly share code, notes, and snippets.

@bangline
Created October 14, 2012 21:38
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 bangline/3889895 to your computer and use it in GitHub Desktop.
Save bangline/3889895 to your computer and use it in GitHub Desktop.
Given example
describe BeersOnTheWall do
describe "setting up the wall" do
context "when we are too drunk to count" do
Given(:beers){ BeersOnTheWall.new }
Then{ expect(beers.count).to eql 100}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment