Created
June 30, 2012 22:02
-
-
Save offby1/3025697 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
describe "let" do | |
let(:wot) { "what's that, you say?" } | |
it "should yadda" do | |
wot.should match(/what/) | |
end | |
end | |
describe "Old Skool" do | |
before(:each) do | |
@wot = "what's that, you say?" | |
end | |
it "should yadda" do | |
@wot.should match(/what/) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment