mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
Merge branch 'master' of github.com:emilybache/Refactoring-Katas
This commit is contained in:
commit
afc37306a8
@ -63,5 +63,3 @@ class Item
|
||||
"#{@name}, #{@sell_in}, #{@quality}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
|
||||
require File.join(File.dirname(__FILE__), 'gilded_rose')
|
||||
|
||||
|
||||
describe GildedRose do
|
||||
|
||||
describe "#update_quality" do
|
||||
it "does not change the name" do
|
||||
items = [Item.new("foo", 0, 0)]
|
||||
GildedRose.new().update_quality(items)
|
||||
items[0].name.should == "fixme"
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user