Skip to content

Commit ed30b90

Browse files
skmetzkytrinyx
authored andcommitted
song test #2 echo chamber again
1 parent 67cf84e commit ed30b90

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/bottles_test.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ def test_a_few_verses
8484

8585
def test_the_whole_song
8686
bottles = Bottles.new
87-
assert_equal bottles.verses(99, 0), bottles.song
87+
expected =
88+
99.downto(0).collect {|i| bottles.verse(i)
89+
}.join("\n")
90+
assert_equal expected, bottles.song
8891
end
8992
end

0 commit comments

Comments
 (0)