summaryrefslogtreecommitdiff
path: root/spec/ruby/core/method/shared
diff options
context:
space:
mode:
authorBenoit Daloze <[email protected]>2020-09-15 21:54:31 +0200
committerBenoit Daloze <[email protected]>2020-09-15 21:56:00 +0200
commit1af0319fc88688bc5dd5e49eecdb8b534ead9991 (patch)
tree352b35490e64bc961dc005d679392106d6be90b9 /spec/ruby/core/method/shared
parent9b535f3ff7c2f48e34dd44564df7adc723b81276 (diff)
2.8 -> 3.0 in specs
Diffstat (limited to 'spec/ruby/core/method/shared')
-rw-r--r--spec/ruby/core/method/shared/to_s.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/method/shared/to_s.rb b/spec/ruby/core/method/shared/to_s.rb
index 7666322936..0c0edc2f8c 100644
--- a/spec/ruby/core/method/shared/to_s.rb
+++ b/spec/ruby/core/method/shared/to_s.rb
@@ -32,7 +32,7 @@ describe :method_to_s, shared: true do
@string.should =~ /MethodSpecs::MySub/
end
- ruby_version_is '2.8' do
+ ruby_version_is '3.0' do
it "returns a String containing the Module containing the method if object has a singleton class but method is not defined in the singleton class" do
obj = MethodSpecs::MySub.new
obj.singleton_class