Sha256: b8d9a5165a7b7e14e7bf31b053d56c6ba61f36b0737b2628b4730ce7abc33aae
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
require File.expand_path('../../fixtures/classes', __FILE__) ruby_version_is "1.9" do describe "Delegator#!" do it "is delegated" do base = mock('base') delegator = DelegateSpecs::Delegator.new(base) base.should_receive(:"!").and_return(:foo) (!delegator).should == :foo end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysl-delegate-2.0.1 | spec/delegator/not_spec.rb |
rubysl-delegate-1.0.0 | spec/delegator/not_spec.rb |
rubysl-delegate-2.0.0 | spec/delegator/not_spec.rb |