mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-17 23:41:27 +00:00
Corrected the use of deprecated rspec syntax
This commit is contained in:
parent
305a94f2d7
commit
8d8df6b639
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user