Sha256: ca3055db8e8815c9d47396011b0787722ee3790016c4597743ae76d93f680ce8
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
# test optional imports describe "requiring not_included" do it "should not import methods into Object" do require File.dirname(__FILE__) + '/../lib/methodchain/not_included' Object.new.should_not respond_to(:tap) Object.new.should_not respond_to(:then) Object.new.should_not respond_to(:else) MethodChain.should be_kind_of(Module) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
methodchain-0.0.5 | spec/not_included.rb |
methodchain-0.1.0 | spec/not_included.rb |