Commit 176b3498 authored by Phil Hughes's avatar Phil Hughes

spec updates

parent a17d62c1
...@@ -89,6 +89,8 @@ describe 'Filter issues', js: true do ...@@ -89,6 +89,8 @@ describe 'Filter issues', js: true do
milestone: future_milestone, milestone: future_milestone,
project: project) project: project)
allow_any_instance_of(ApplicationHelper).to receive(:collapsed_sidebar?).and_return(true)
visit project_issues_path(project) visit project_issues_path(project)
end end
......
...@@ -28,6 +28,8 @@ describe 'Visual tokens', js: true do ...@@ -28,6 +28,8 @@ describe 'Visual tokens', js: true do
sign_in(user) sign_in(user)
create(:issue, project: project) create(:issue, project: project)
allow_any_instance_of(ApplicationHelper).to receive(:collapsed_sidebar?).and_return(true)
visit project_issues_path(project) visit project_issues_path(project)
end end
......
...@@ -21,6 +21,8 @@ feature 'Diff note avatars', js: true do ...@@ -21,6 +21,8 @@ feature 'Diff note avatars', js: true do
before do before do
project.team << [user, :master] project.team << [user, :master]
sign_in user sign_in user
allow_any_instance_of(ApplicationHelper).to receive(:collapsed_sidebar?).and_return(true)
end end
context 'discussion tab' do context 'discussion tab' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment