Update the tests to work with the code that was changed in rev 4dab932c94 to be more like the original c#

This commit is contained in:
Ian 2013-03-27 10:20:59 +00:00
parent 5b90bc7d6a
commit f95ce38b81

View File

@ -21,7 +21,7 @@ if ARGV.size > 0
days = ARGV[0].to_i + 1
end
gilded_rose = GildedRose.new
gilded_rose = GildedRose.new items
(0...days).each do |day|
puts "-------- day #{day} --------"
puts "name, sellIn, quality"
@ -29,5 +29,5 @@ gilded_rose = GildedRose.new
puts item
end
puts ""
gilded_rose.update_quality(items)
gilded_rose.update_quality
end