Sha256: 936a9846f5655f4429a733ca549dfbfb12600dba7229fe85964e6b3c216b617e
Contents?: true
Size: 293 Bytes
Versions: 27
Compression:
Stored size: 293 Bytes
Contents
class RespondToSpecs def foo end end describe "Kernel#respond_to?" do before :each do @a = RespondToSpecs.new end it "returns false if a method exists, but is marked with a '$$stub' property" do `#{@a}.$foo.$$stub = true` @a.respond_to?(:foo).should be_false end end
Version data entries
27 entries across 27 versions & 1 rubygems