Skip to content

Instantly share code, notes, and snippets.

@fevrisn
Created June 3, 2010 08:17
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 fevrisn/e6f77ca3c46e62722298 to your computer and use it in GitHub Desktop.
Save fevrisn/e6f77ca3c46e62722298 to your computer and use it in GitHub Desktop.
require File.expand_path(File.join(File.dirname(__FILE__), '../spec_helper'))
describe 'stuff' do
before(:all) do
@thing = 'stuff'
end
describe "chunky" do
it "something" do
@thing.should be_present # Succeeds
end
it "something something" do
@thing.should be_present # Succeeds
end
end
describe "bacon" do
it "dark side" do
@thing.should be_present # Fails; @thing already wiped
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment