From 6f2787b2c7f9e5bd61bb7c3113c74845d62ea906 Mon Sep 17 00:00:00 2001 From: Eric Mathison Date: Tue, 25 Feb 2014 16:21:35 -0800 Subject: [PATCH] Correct test's usage of non-square nested arrays Doing so also removes a discrepancy between the 'it' description and actual test code. --- session3/spec/5.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/session3/spec/5.rb b/session3/spec/5.rb index a6e1a843..872cb76c 100644 --- a/session3/spec/5.rb +++ b/session3/spec/5.rb @@ -22,9 +22,8 @@ def should_see(ary_of_arys, expected) should_see [[1,2],[4,3]], [1,2,3,4] end - - it 'should yield 1,2,3,4,5,6 when given [[1,2,3],[8,9,4],[7,6,5]]' do - should_see [[1,2,3],[6,5,4]], [1,2,3,4,5,6] + it 'should yield 1,2,3,4,5,6,7,8,9 when given [[1,2,3],[8,9,4],[7,6,5]]' do + should_see [[1,2,3], [8,9,4], [7,6,5]], [1,2,3,4,5,6,7,8,9] end it 'should fit the example given in the notes' do