Commit ba1cd87f authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'nfriend-replace-gitlab_sign_in' into 'master'

Replace gitlab_sign_in with sign_in for release tests

See merge request gitlab-org/gitlab!44016
parents 8f84a77e 973b5b32
...@@ -18,7 +18,7 @@ RSpec.describe 'User creates release', :js do ...@@ -18,7 +18,7 @@ RSpec.describe 'User creates release', :js do
project.add_developer(user) project.add_developer(user)
gitlab_sign_in(user) sign_in(user)
visit new_page_url visit new_page_url
......
...@@ -13,7 +13,7 @@ RSpec.describe 'User edits Release', :js do ...@@ -13,7 +13,7 @@ RSpec.describe 'User edits Release', :js do
project.add_developer(user) project.add_developer(user)
gitlab_sign_in(user) sign_in(user)
visit edit_project_release_path(project, release) visit edit_project_release_path(project, release)
......
...@@ -16,7 +16,7 @@ RSpec.describe 'User views releases', :js do ...@@ -16,7 +16,7 @@ RSpec.describe 'User views releases', :js do
shared_examples 'releases page' do shared_examples 'releases page' do
context('when the user is a maintainer') do context('when the user is a maintainer') do
before do before do
gitlab_sign_in(maintainer) sign_in(maintainer)
end end
it 'sees the release' do it 'sees the release' do
...@@ -110,7 +110,7 @@ RSpec.describe 'User views releases', :js do ...@@ -110,7 +110,7 @@ RSpec.describe 'User views releases', :js do
context('when the user is a guest') do context('when the user is a guest') do
before do before do
gitlab_sign_in(guest) sign_in(guest)
end end
it 'renders release info except for Git-related data' do it 'renders release info except for Git-related data' 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