diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-09-22 21:15:43 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-09-22 22:42:43 +0300 |
commit | 7a8514c3a1806f44d7602c7a6602c116b4264adb (patch) | |
tree | f1ad71caa1f06330c309003b4f3dda623b4dcbb2 /spec/features/issues/filtered_search | |
parent | 76de6327d8eab3123f06f612e8f623424599ad91 (diff) |
add set_cookie helper
Diffstat (limited to 'spec/features/issues/filtered_search')
-rw-r--r-- | spec/features/issues/filtered_search/visual_tokens_spec.rb | 3 |
1 files changed, 2 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 2b624f4842d..949def43690 100644 --- a/spec/features/issues/filtered_search/visual_tokens_spec.rb +++ b/spec/features/issues/filtered_search/visual_tokens_spec.rb @@ -1,6 +1,7 @@ require 'rails_helper' describe 'Visual tokens', js: true do + include CookieHelper include FilteredSearchHelpers include WaitForRequests @@ -28,7 +29,7 @@ describe 'Visual tokens', js: true do sign_in(user) create(:issue, project: project) - page.driver.set_cookie('sidebar_collapsed', 'true') + set_cookie('sidebar_collapsed', 'true') visit project_issues_path(project) end |