mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
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:
parent
5b90bc7d6a
commit
f95ce38b81
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user