Create a gist now

Instantly share code, notes, and snippets.

When Example
context "while we still have beers" do
Given(:beers_on_the_wall){ BeersOnTheWall.new(beer_count) }
When{ beers_on_the_wall.take_one_down }
Then{ expect(beers_on_the_wall.count).to eql (beer_count - 1) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment