Sha256: ececbf0fcdac6b165a1c12b4ad14bdb9fa1248b7051c01f1f3ae31e6c09728ec
Contents?: true
Size: 367 Bytes
Versions: 4
Compression:
Stored size: 367 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper.rb' context "should_not_be_an_instance_of" do specify "should fail when target is of specified class" do lambda { "hello".should_not_be_an_instance_of(String) }.should_fail end specify "should pass when target is not of specified class" do [].should_not_be_an_instance_of(String) end end
Version data entries
4 entries across 4 versions & 2 rubygems