diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/environments/environment_item_spec.js.es6 | 2 | ||||
-rw-r--r-- | spec/javascripts/test_bundle.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/environments/environment_item_spec.js.es6 b/spec/javascripts/environments/environment_item_spec.js.es6 index d87cc0996c9..e6fb0d00290 100644 --- a/spec/javascripts/environments/environment_item_spec.js.es6 +++ b/spec/javascripts/environments/environment_item_spec.js.es6 @@ -1,4 +1,4 @@ -window.timeago = require('vendor/timeago'); +window.timeago = require('timeago.js'); require('~/environments/components/environment_item'); describe('Environment item', () => { diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js index 7df8d2fd8b4..030d2de090a 100644 --- a/spec/javascripts/test_bundle.js +++ b/spec/javascripts/test_bundle.js @@ -7,7 +7,7 @@ jasmine.getJSONFixtures().fixturesPath = 'base/spec/javascripts/fixtures'; // include common libraries window.$ = window.jQuery = require('jquery'); window._ = require('underscore'); -window.Cookies = require('vendor/js.cookie'); +window.Cookies = require('js-cookie'); window.Vue = require('vue'); window.Vue.use(require('vue-resource')); require('jquery-ujs'); |