Merge pull request #61 from hdennen/master

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

View File

@ -4,9 +4,9 @@ import { Item, GildedRose } from '../app/gilded-rose';
describe('Gilded Rose', function () { describe('Gilded Rose', function () {
it('should foo', function() { it('should foo', function() {
const gilgedRose = new GildedRose([ new Item('foo', 0, 0) ]); const gildedRose = new GildedRose([ new Item('foo', 0, 0) ]);
const items = gilgedRose.updateQuality(); const items = gildedRose.updateQuality();
expect(items[0].name).to.equal('fixme'); expect(items[0].name).to.equal('fixme');
}); });
}); });

View File

@ -1,8 +1,8 @@
describe("Gilded Rose", function() { describe("Gilded Rose", function() {
it("should foo", function() { it("should foo", function() {
const gilgedRose = new Shop([ new Item("foo", 0, 0) ]); const gildedRose = new Shop([ new Item("foo", 0, 0) ]);
const items = gilgedRose.updateQuality(); const items = gildedRose.updateQuality();
expect(items[0].name).toEqual("fixme"); expect(items[0].name).toEqual("fixme");
}); });