summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/max_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/max_spec.rb')
-rw-r--r--spec/ruby/core/array/max_spec.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/ruby/core/array/max_spec.rb b/spec/ruby/core/array/max_spec.rb
index 5d0423d1e4..329b691883 100644
--- a/spec/ruby/core/array/max_spec.rb
+++ b/spec/ruby/core/array/max_spec.rb
@@ -1,10 +1,8 @@
require_relative '../../spec_helper'
describe "Array#max" do
- ruby_version_is "2.4" do
- it "is defined on Array" do
- [1].method(:max).owner.should equal Array
- end
+ it "is defined on Array" do
+ [1].method(:max).owner.should equal Array
end
it "returns nil with no values" do