Sha256: 81e0225de1a6b95b5537a04a6e469a16233f83a6f20ba880571010b867f6b72a
Contents?: true
Size: 327 Bytes
Versions: 3
Compression:
Stored size: 327 Bytes
Contents
require File.expand_path('../../fixtures/classes', __FILE__) describe "Delegator#~" do ruby_bug "redmine:2224", "1.8" 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/complement_spec.rb |
rubysl-delegate-1.0.0 | spec/delegator/complement_spec.rb |
rubysl-delegate-2.0.0 | spec/delegator/complement_spec.rb |