summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/product_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/product_spec.rb')
-rw-r--r--spec/ruby/core/array/product_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/array/product_spec.rb b/spec/ruby/core/array/product_spec.rb
index 9207a9b014..7d810b6196 100644
--- a/spec/ruby/core/array/product_spec.rb
+++ b/spec/ruby/core/array/product_spec.rb
@@ -4,7 +4,7 @@ require_relative 'fixtures/classes'
describe "Array#product" do
it "returns converted arguments using :to_ary" do
lambda{ [1].product(2..3) }.should raise_error(TypeError)
- ar = ArraySpecs::ArrayConvertable.new(2,3)
+ ar = ArraySpecs::ArrayConvertible.new(2,3)
[1].product(ar).should == [[1,2],[1,3]]
ar.called.should == :to_ary
end