Skip to content

Instantly share code, notes, and snippets.

@rsim
Created June 3, 2010 07:13
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 rsim/52f61da8b461d6c8b8e7 to your computer and use it in GitHub Desktop.
Save rsim/52f61da8b461d6c8b8e7 to your computer and use it in GitHub Desktop.
require "rubygems"
gem "rspec", "=2.0.0.beta.9"
require "rspec"
describe "test" do
before(:all) do
@a = 'a'
puts "before all @a=#{@a.inspect}"
end
after(:all) do
puts "after all @a=#{@a.inspect}"
end
it "does something" do
@a.should == 'a'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment