mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-22 22:05:05 +00:00
Merge branch 'master' of github.com:emilybache/Refactoring-Katas
This commit is contained in:
commit
afc37306a8
2 files changed
+2
-4
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user