Created
August 13, 2009 18:52
-
-
Save jarib/167385 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 "rubygems" | |
require "spec/autorun" | |
%w[foo baar baazs].each do |thing| | |
describe "my thing, at the moment #{thing.inspect}" do | |
it "should be larger than 4 chars" do | |
thing.size.should > 4 | |
end | |
end | |
end | |
# FF. | |
# | |
# 1) | |
# 'my thing, at the moment "foo" should be larger than 4 chars' FAILED | |
# expected: > 4, | |
# got: 3 | |
# (eval):9: | |
# | |
# 2) | |
# 'my thing, at the moment "baar" should be larger than 4 chars' FAILED | |
# expected: > 4, | |
# got: 4 | |
# (eval):9: | |
# | |
# Finished in 0.00352 seconds | |
# | |
# 3 examples, 2 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment