mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
commit
c3dfc5baf3
@ -4,9 +4,9 @@ import { Item, GildedRose } from '../app/gilded-rose';
|
||||
describe('Gilded Rose', function () {
|
||||
|
||||
it('should foo', function() {
|
||||
const gilgedRose = new GildedRose([ new Item('foo', 0, 0) ]);
|
||||
const items = gilgedRose.updateQuality();
|
||||
const gildedRose = new GildedRose([ new Item('foo', 0, 0) ]);
|
||||
const items = gildedRose.updateQuality();
|
||||
expect(items[0].name).to.equal('fixme');
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
describe("Gilded Rose", function() {
|
||||
|
||||
it("should foo", function() {
|
||||
const gilgedRose = new Shop([ new Item("foo", 0, 0) ]);
|
||||
const items = gilgedRose.updateQuality();
|
||||
const gildedRose = new Shop([ new Item("foo", 0, 0) ]);
|
||||
const items = gildedRose.updateQuality();
|
||||
expect(items[0].name).toEqual("fixme");
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user