Skip to content

Instantly share code, notes, and snippets.

@arturaz
Created January 24, 2012 10:25
Show Gist options
  • Save arturaz/1669501 to your computer and use it in GitHub Desktop.
Save arturaz/1669501 to your computer and use it in GitHub Desktop.
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