summaryrefslogtreecommitdiff
path: root/spec/javascripts/environments
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-12 09:33:08 +0100
committerPhil Hughes <me@iamphill.com>2017-09-12 09:33:08 +0100
commit47ee81ffc62f9c119393870cf743b7ace16139c8 (patch)
treeb2bef1c9f272d50a8e82594ec356d2b78f97a606 /spec/javascripts/environments
parent96e6fc70b40c51af50bee6c421f7f363acd899d4 (diff)
downloadgitlab-ce-47ee81ffc62f9c119393870cf743b7ace16139c8.tar.gz
fixed location.pathname not being reset
Diffstat (limited to 'spec/javascripts/environments')
-rw-r--r--spec/javascripts/environments/folder/environments_folder_view_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/environments/folder/environments_folder_view_spec.js b/spec/javascripts/environments/folder/environments_folder_view_spec.js
index 09916629bd1..7e62d356bd2 100644
--- a/spec/javascripts/environments/folder/environments_folder_view_spec.js
+++ b/spec/javascripts/environments/folder/environments_folder_view_spec.js
@@ -15,7 +15,7 @@ describe('Environments Folder View', () => {
});
afterEach(() => {
- window.history.pushState({}, null, '');
+ window.history.pushState({}, null, '/');
});
let component;