diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-09-11 10:30:43 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-11 10:30:43 +0300 |
commit | d93d1f9eed3a0a37b490f504beb673cce78dbe17 (patch) | |
tree | 3614535f9e37d3fbcfe31331affcea5d9a9e2817 /spec/features/issues | |
parent | ce14fae5d43247a838debeb5dda7871845d127c8 (diff) |
Check for sidebar cookie instead of class when resizing window
Diffstat (limited to 'spec/features/issues')
-rw-r--r-- | spec/features/issues/filtered_search/visual_tokens_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues/filtered_search/visual_tokens_spec.rb b/spec/features/issues/filtered_search/visual_tokens_spec.rb index 4ae54fd6f4e..2b624f4842d 100644 --- a/spec/features/issues/filtered_search/visual_tokens_spec.rb +++ b/spec/features/issues/filtered_search/visual_tokens_spec.rb @@ -28,7 +28,7 @@ describe 'Visual tokens', js: true do sign_in(user) create(:issue, project: project) - allow_any_instance_of(ApplicationHelper).to receive(:collapsed_sidebar?).and_return(true) + page.driver.set_cookie('sidebar_collapsed', 'true') visit project_issues_path(project) end |