summaryrefslogtreecommitdiff
path: root/spec/javascripts/merge_request_tabs_spec.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-30 15:27:40 -0600
committerMike Greiling <mike@pixelcog.com>2017-01-03 10:56:39 -0600
commit5f192c77e09a9af19268e5c5cf860ffd8c0c6216 (patch)
treeb899c45791919204529f704d44cd527a62b1c1cd /spec/javascripts/merge_request_tabs_spec.js
parent6370e326995ccb1c1c816b007c63f10d0c7cda25 (diff)
downloadgitlab-ce-5f192c77e09a9af19268e5c5cf860ffd8c0c6216.tar.gz
update all frontend tests to point to precompiled fixtures
Diffstat (limited to 'spec/javascripts/merge_request_tabs_spec.js')
-rw-r--r--spec/javascripts/merge_request_tabs_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/merge_request_tabs_spec.js b/spec/javascripts/merge_request_tabs_spec.js
index 130d391bfab..1104f123b25 100644
--- a/spec/javascripts/merge_request_tabs_spec.js
+++ b/spec/javascripts/merge_request_tabs_spec.js
@@ -16,7 +16,7 @@
};
$.extend(stubLocation, defaults, stubs || {});
};
- fixture.preload('merge_request_tabs.html');
+ fixture.preload('static/merge_request_tabs.html.raw');
beforeEach(function () {
this.class = new gl.MergeRequestTabs({ stubLocation: stubLocation });
@@ -30,7 +30,7 @@
describe('#activateTab', function () {
beforeEach(function () {
spyOn($, 'ajax').and.callFake(function () {});
- fixture.load('merge_request_tabs.html');
+ fixture.load('static/merge_request_tabs.html.raw');
this.subject = this.class.activateTab;
});
it('shows the first tab when action is show', function () {