Sha256: 72074dce3630b9372919865c13a0d24b8a625431aae4c3274e24a969d2c82886
Contents?: true
Size: 322 Bytes
Versions: 6
Compression:
Stored size: 322 Bytes
Contents
# backtick_javascript: true 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
6 entries across 6 versions & 1 rubygems