14. 99 Bottles
describe "#verse" do
end
describe "#verse" do
context "99" do
end
end
describe "#verse" do
context "99" do
expected = <<-VERSE
99 bottles of beer on the wall, 99 bottles of beer.
Take one down and pass it around, 98 bottles of beer on the wall.
VERSE
expect(expected).to eq(Bottles.new.verse(99))
end
end
15. 99 Bottles →
class Bottles
def verse(number)
"99 bottles of beer on the wall, 99 bottles of beer.n"
"Take one down and pass it around, 98 bottles of beer on the wall.n"
end
end