mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
commit
c3dfc5baf3
2 files changed
+5
-5
No files matched your search
@@ -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");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user