Sha256: ed7444a5b163278cfa2750155889451463f94e11e5ddb92b0e460631bb3076a0
Contents?: true
Size: 589 Bytes
Versions: 48
Compression:
Stored size: 589 Bytes
Contents
require 'spec_helper' module Bug8302 describe "Bug report 8302:" do class Foo def Foo.class_method(arg) end def instance_bar(arg) end end it "class method is not restored correctly when proxied" do Foo.should_not_receive(:class_method).with(Array.new) Foo.rspec_verify Foo.class_method(Array.new) end it "instance method is not restored correctly when proxied" do foo = Foo.new foo.should_not_receive(:instance_bar).with(Array.new) foo.rspec_verify foo.instance_bar(Array.new) end end end
Version data entries
48 entries across 48 versions & 4 rubygems