Sha256: 1b949efb39fa6b76889e292b76f21f5c5c3397c3e1bac2df72fa74a0ae88e175
Contents?: true
Size: 377 Bytes
Versions: 4
Compression:
Stored size: 377 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper.rb' context "should_equal" do specify "should pass when objects are the same instance" do :apple.should_equal(:apple) end specify "should fail when objects are not the same instance" do lambda { "apple".should_equal("apple") }.should_fail_with "expected \"apple\", got \"apple\" (using .equal?)" end end
Version data entries
4 entries across 4 versions & 2 rubygems