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