-
-
Save fevrisn/e6f77ca3c46e62722298 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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