From 8a164b6846daf486c3c15ff219fcd311e1097334 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 30 Aug 2018 11:10:10 +0100 Subject: [PATCH] Fixed gh-profile-image tests no issue - stubbed `ghostPaths` service did not have the expected `ghostPaths.assetRoot` property that the `gh-profile-image` component started calling `.replace` on in https://github.com/TryGhost/Ghost-Admin/commit/adb0508d2f8e2dcc76fde22919aaec2821bc5414 --- .../admin/tests/integration/components/gh-profile-image-test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghost/admin/tests/integration/components/gh-profile-image-test.js b/ghost/admin/tests/integration/components/gh-profile-image-test.js index 814fb1602c..5e04cae14e 100644 --- a/ghost/admin/tests/integration/components/gh-profile-image-test.js +++ b/ghost/admin/tests/integration/components/gh-profile-image-test.js @@ -10,6 +10,8 @@ import {setupComponentTest} from 'ember-mocha'; import {timeout} from 'ember-concurrency'; let pathsStub = Service.extend({ + assetRoot: '/ghost/assets/', + init() { this._super(...arguments);