Created
October 18, 2012 22:55
-
-
Save ChrisLundquist/3915234 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
class Foo | |
end | |
describe Foo do | |
it "should call the right equals method" do | |
Foo.new.should be_equal Foo.new | |
end | |
end |
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
$ spec test_spec.rb | |
F | |
1) | |
'Foo should call the right equals method' FAILED | |
expected equal?(#<Foo:0x00000001f3c568>) to return true, got false | |
test_spec.rb:6:in `block (2 levels) in <top (required)>' | |
/home/vagrant/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval' | |
/home/vagrant/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>' | |
Finished in 0.017849162 seconds | |
1 example, 1 failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment