mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 22:41:30 +00:00
refactored first test to pass
This commit is contained in:
parent
4ee4caa78f
commit
ba464f5714
@ -6,7 +6,7 @@ describe('Gilded Rose', function () {
|
|||||||
it('should foo', function() {
|
it('should foo', function() {
|
||||||
const gildedRose = new GildedRose([ new Item('foo', 0, 0) ]);
|
const gildedRose = new GildedRose([ new Item('foo', 0, 0) ]);
|
||||||
const items = gildedRose.updateQuality();
|
const items = gildedRose.updateQuality();
|
||||||
expect(items[0].name).to.equal('fixme');
|
expect(items[0].name).to.equal('foo');
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user