Commit e3182392 authored by Nick Thomas's avatar Nick Thomas

Fix some failing specs on master

parent cf3f89fd
...@@ -60,7 +60,7 @@ describe 'Help Pages', feature: true do ...@@ -60,7 +60,7 @@ describe 'Help Pages', feature: true do
allow_any_instance_of(ApplicationSetting).to receive(:help_text) { "My Custom Text" } allow_any_instance_of(ApplicationSetting).to receive(:help_text) { "My Custom Text" }
allow_any_instance_of(ApplicationSetting).to receive(:help_page_support_url) { "http://example.com/help" } allow_any_instance_of(ApplicationSetting).to receive(:help_page_support_url) { "http://example.com/help" }
login_as :user gitlab_sign_in :user
visit help_path visit help_path
end end
......
...@@ -39,7 +39,7 @@ describe 'Milestone draggable', feature: true, js: true do ...@@ -39,7 +39,7 @@ describe 'Milestone draggable', feature: true, js: true do
end end
it 'assigns issue when it has been dragged to ongoing list' do it 'assigns issue when it has been dragged to ongoing list' do
login_as(:admin) gitlab_sign_in(:admin)
create_and_drag_issue create_and_drag_issue
expect(@issue.reload.assignees).not_to be_empty expect(@issue.reload.assignees).not_to be_empty
......
...@@ -29,7 +29,7 @@ describe 'Project snippets', :js, feature: true do ...@@ -29,7 +29,7 @@ describe 'Project snippets', :js, feature: true do
context 'when submitting a note' do context 'when submitting a note' do
before do before do
login_as :admin gitlab_sign_in :admin
visit namespace_project_snippet_path(project.namespace, project, snippets[0]) visit namespace_project_snippet_path(project.namespace, project, snippets[0])
end end
......
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