BaseMatcher
# File lib/rspec/matchers/built_in/equal.rb, line 34 def diffable?; true; end
# File lib/rspec/matchers/built_in/equal.rb, line 9 def failure_message_for_should return expected #{inspect_object(expected)} got #{inspect_object(actual)}Compared using equal?, which compares object identity,but expected and actual are not the same object. Use'actual.should eq(expected)' if you don't care aboutobject identity in this example. end
Generated with the Darkfish Rdoc Generator 2.