Sha256: 5e5ec9bd04af38763e521fdce560facafceaf2f893311e29ba053da625c44f89
Contents?: true
Size: 391 Bytes
Versions: 4
Compression:
Stored size: 391 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper.rb' context "should_not ==" do specify "should pass objects are not ==" do lambda do "apple".should_not == "cadillac" end.should_pass end specify "should fail when objects are ==" do lambda do "apple".should_not == "apple" end.should_fail_with "expected not == \"apple\", got \"apple\"" end end
Version data entries
4 entries across 4 versions & 2 rubygems