From 4efdbdb266ae15e1effb768b5fea7ee3d0027e66 Mon Sep 17 00:00:00 2001
From: Steffen Rauh <steffen.rauh@gmx.de>
Date: Mon, 5 Dec 2016 11:00:19 +0100
Subject: [PATCH] Fixed influence from other specs.

---
 spec/javascripts/bootstrap_linked_tabs_spec.js.es6 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/spec/javascripts/bootstrap_linked_tabs_spec.js.es6 b/spec/javascripts/bootstrap_linked_tabs_spec.js.es6
index 9aa3c50611d..133712debab 100644
--- a/spec/javascripts/bootstrap_linked_tabs_spec.js.es6
+++ b/spec/javascripts/bootstrap_linked_tabs_spec.js.es6
@@ -9,6 +9,10 @@
     });
 
     describe('when is initialized', () => {
+      beforeEach(() => {
+        spyOn(window.history, 'replaceState').and.callFake(function () {});
+      });
+
       it('should activate the tab correspondent to the given action', () => {
         const linkedTabs = new window.gl.LinkedTabs({ // eslint-disable-line
           action: 'tab1',
-- 
GitLab