summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/allocate_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/allocate_spec.rb')
-rw-r--r--spec/ruby/core/string/allocate_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/string/allocate_spec.rb b/spec/ruby/core/string/allocate_spec.rb
index 30d5f60594..00dadaf076 100644
--- a/spec/ruby/core/string/allocate_spec.rb
+++ b/spec/ruby/core/string/allocate_spec.rb
@@ -3,7 +3,7 @@ require_relative '../../spec_helper'
describe "String.allocate" do
it "returns an instance of String" do
str = String.allocate
- str.should be_an_instance_of(String)
+ str.should.instance_of?(String)
end
it "returns a fully-formed String" do