should syntax is deprecated, changed the first test to expect syntax

This commit is contained in:
Dani Latorre 2016-08-02 15:03:07 +02:00
parent 4dead49ba8
commit 778db32d9e

View File

@ -6,7 +6,7 @@ describe GildedRose do
it "does not change the name" do it "does not change the name" do
items = [Item.new("foo", 0, 0)] items = [Item.new("foo", 0, 0)]
GildedRose.new(items).update_quality() GildedRose.new(items).update_quality()
items[0].name.should == "fixme" expect(items[0].name).to eq "fixme"
end end
end end