Bug fix: the sample spec did not run

This commit is contained in:
David Vrensk committed 2012-12-06 15:53:43 +01:00
1 parent 7333fc844e
commit 9042bba0a2
1 file changed
+2 -2
+2 -2
View File
@@ -1,13 +1,13 @@
require File.join(File.dirname(__FILE__), 'gilded_rose') require File.join(File.dirname(__FILE__), 'gilded_rose')
describe GildedRose do describe GildedRose do
describe "#update_quality" do describe "#update_quality" do
it "does not change the name" do
items = [Item.new("foo", 0, 0)] items = [Item.new("foo", 0, 0)]
GildedRose.new().update_quality(items) GildedRose.new().update_quality(items)
items[0].name.should == "fixme" items[0].name.should == "fixme"
end end
end
end end