Skip to content

Instantly share code, notes, and snippets.

@RobertDober
Created September 11, 2009 07:34
Show Gist options
  • Save RobertDober/185146 to your computer and use it in GitHub Desktop.
Save RobertDober/185146 to your computer and use it in GitHub Desktop.
require "rubygems"
require "shoulda"
class Test1 < Test::Unit::TestCase
context "outer" do
setup do
puts "outer setup"
end
context "inner" do
setup do
puts " inner setup"
end
should "a" do
assert true
end
should "b" do
assert true
end
end
end
end #class Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment