Skip to content
This repository
Browse code

Array#to_a: Fix spec

  • Loading branch information...
commit b69b21b320c70887b8991c6b21a551d605335c95 1 parent e582507
Marc-André Lafortune marcandre authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  core/array/to_a_spec.rb
2  core/array/to_a_spec.rb
@@ -10,7 +10,7 @@
10 10
11 11 it "does not return subclass instance on Array subclasses" do
12 12 e = ArraySpecs::MyArray.new(1, 2)
13   - e.to_a.should be_kind_of(Array)
  13 + e.to_a.should be_an_instance_of(Array)
14 14 e.to_a.should == [1, 2]
15 15 end
16 16

0 comments on commit b69b21b

Please sign in to comment.
Something went wrong with that request. Please try again.