Corrected the use of deprecated rspec syntax

This commit is contained in:
Vibhor Mahajan 2015-12-28 16:59:50 +05:30
parent 305a94f2d7
commit 8d8df6b639

View File

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