Merge pull request #61 from hdennen/master

fix(js and ts): spec typo
This commit is contained in:
Emily Bache authored and GitHub committed 2017-07-28 09:15:51 +02:00
commit c3dfc5baf3
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -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');
});
});
});
+2 -2
View File
@@ -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");
});