diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-06-05 21:44:29 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-06-20 02:59:01 +0300 |
commit | 45fb1f9542fc258d8671c82843d681277ae4aa89 (patch) | |
tree | b466767095ec1d9560155d8188140f40cc8a5742 /spec/features/projects/issuable_templates_spec.rb | |
parent | c1cbc27314dd4a83b6a337072e4c386cbcd14ca7 (diff) |
Change `login_as` uses to `gitlab_sign_in`
Diffstat (limited to 'spec/features/projects/issuable_templates_spec.rb')
-rw-r--r-- | spec/features/projects/issuable_templates_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/issuable_templates_spec.rb b/spec/features/projects/issuable_templates_spec.rb index 3076c863dcb..c6133e50f53 100644 --- a/spec/features/projects/issuable_templates_spec.rb +++ b/spec/features/projects/issuable_templates_spec.rb @@ -6,7 +6,7 @@ feature 'issuable templates', feature: true, js: true do before do project.team << [user, :master] - login_as user + gitlab_sign_in user end context 'user creates an issue using templates' do @@ -128,7 +128,7 @@ feature 'issuable templates', feature: true, js: true do project.team << [fork_user, :developer] fork_project.team << [fork_user, :master] create(:forked_project_link, forked_to_project: fork_project, forked_from_project: project) - login_as fork_user + gitlab_sign_in fork_user project.repository.create_file( fork_user, '.gitlab/merge_request_templates/feature-proposal.md', |