Created
January 24, 2012 10:25
-
-
Save arturaz/1669501 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 "fail" do | |
it "should not fail" do | |
a = some_method_that_returns_activerecord_relation | |
a.include?(object).should be_true # This does not fail. | |
a.should include(object) # This fails. | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment