We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a97f197 commit cadc8adCopy full SHA for cadc8ad
spec/ruby/core/method/shared/eql.rb
@@ -55,10 +55,8 @@
55
end
56
57
it "returns false if comparing a method defined via define_method and def" do
58
- MethodSpecs::Methods.send :define_method, :defined_foo, lambda {}
59
-
60
- defn = @m.method(:foo)
61
- defined = @m.method(:defined_foo)
+ defn = @m.method(:zero)
+ defined = @m.method(:zero_defined_method)
62
63
defn.send(@method, defined).should be_false
64
defined.send(@method, defn).should be_false
0 commit comments