Skip to content

Instantly share code, notes, and snippets.

@dasch
Created December 30, 2009 00:25
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 dasch/265746 to your computer and use it in GitHub Desktop.
Save dasch/265746 to your computer and use it in GitHub Desktop.
context "A stack" do
setup { Stack.new(42) }
context "which gets #pop called on it" do
hookup { topic.pop }
asserts(:size).equals(0)
end
asserts(:size).equals(1)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment