summaryrefslogtreecommitdiff
path: root/spec/ruby/core/refinement/import_methods_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/refinement/import_methods_spec.rb')
-rw-r--r--spec/ruby/core/refinement/import_methods_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/refinement/import_methods_spec.rb b/spec/ruby/core/refinement/import_methods_spec.rb
index 05973b2380..614c54dff8 100644
--- a/spec/ruby/core/refinement/import_methods_spec.rb
+++ b/spec/ruby/core/refinement/import_methods_spec.rb
@@ -128,7 +128,7 @@ describe "Refinement#import_methods" do
using self
-> {
"foo".indent(3)
- }.should raise_error(NoMethodError, /undefined method `indent' for ("foo":String|an instance of String)/)
+ }.should raise_error(NoMethodError, /undefined method [`']indent' for ("foo":String|an instance of String)/)
end
end
@@ -214,7 +214,7 @@ describe "Refinement#import_methods" do
using self
-> {
String.indent(3)
- }.should raise_error(NoMethodError, /undefined method `indent' for (String:Class|class String)/)
+ }.should raise_error(NoMethodError, /undefined method [`']indent' for (String:Class|class String)/)
end
end