Sha256: 832c1d138f4e4cec9d9fbad5ff178b5c320515676f54396ccb4048acba855db6
Contents?: true
Size: 348 Bytes
Versions: 3
Compression:
Stored size: 348 Bytes
Contents
require File.expand_path('../../fixtures/classes', __FILE__) describe "Delegator#eql?" do ruby_bug "redmine:2224", "1.8" do it "is delegated" do base = mock('base') delegator = DelegateSpecs::Delegator.new(base) base.should_receive(:eql?).with(42).and_return(:foo) delegator.eql?(42).should == :foo end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysl-delegate-2.0.1 | spec/delegator/eql_spec.rb |
rubysl-delegate-1.0.0 | spec/delegator/eql_spec.rb |
rubysl-delegate-2.0.0 | spec/delegator/eql_spec.rb |