summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/append_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/append_spec.rb')
-rw-r--r--spec/ruby/core/string/append_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/ruby/core/string/append_spec.rb b/spec/ruby/core/string/append_spec.rb
index e001257621..8497ce8262 100644
--- a/spec/ruby/core/string/append_spec.rb
+++ b/spec/ruby/core/string/append_spec.rb
@@ -5,6 +5,7 @@ require_relative 'shared/concat'
describe "String#<<" do
it_behaves_like :string_concat, :<<
it_behaves_like :string_concat_encoding, :<<
+ it_behaves_like :string_concat_type_coercion, :<<
it "raises an ArgumentError when given the incorrect number of arguments" do
-> { "hello".send(:<<) }.should raise_error(ArgumentError)