summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/shared/select.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/shared/select.rb')
-rw-r--r--spec/ruby/core/array/shared/select.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/array/shared/select.rb b/spec/ruby/core/array/shared/select.rb
index 9c2cbf76c4..cb4f9acbb7 100644
--- a/spec/ruby/core/array/shared/select.rb
+++ b/spec/ruby/core/array/shared/select.rb
@@ -20,7 +20,7 @@ describe :array_select, shared: true do
end
it "does not return subclass instance on Array subclasses" do
- ArraySpecs::MyArray[1, 2, 3].send(@method) { true }.should be_an_instance_of(Array)
+ ArraySpecs::MyArray[1, 2, 3].send(@method) { true }.should.instance_of?(Array)
end
it "properly handles recursive arrays" do