eql(expected)
public
Passes if actual and expected are of equal value, but not necessarily the same object.
See http://www.ruby-doc.org/core/classes/Object.html#M001057 for more information about equality in Ruby.
Examples
5.should eql(5) 5.should_not eql(3)