diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-01-13 19:04:41 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-13 19:06:58 +0300 |
commit | 5bb258cd8fbc051aa65fca133578eb30761b5ca1 (patch) | |
tree | f1f1e820ebbdf67aa28888f763d771702773629a /spec/javascripts/right_sidebar_spec.js | |
parent | 639bca436297e65f16499c5b76a9e5ffb2b798c8 (diff) |
phantomJS doesn't allow us to spyOn history.replaceState
Diffstat (limited to 'spec/javascripts/right_sidebar_spec.js')
-rw-r--r-- | spec/javascripts/right_sidebar_spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/javascripts/right_sidebar_spec.js b/spec/javascripts/right_sidebar_spec.js index 2a711b15133..3b00f15795c 100644 --- a/spec/javascripts/right_sidebar_spec.js +++ b/spec/javascripts/right_sidebar_spec.js @@ -34,6 +34,8 @@ require('~/extensions/jquery.js'); describe('RightSidebar', function() { var fixtureName = 'issues/open-issue.html.raw'; preloadFixtures(fixtureName); + loadJSONFixtures('todos.json'); + beforeEach(function() { loadFixtures(fixtureName); this.sidebar = new Sidebar; |