diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-06-21 18:44:10 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-06-29 12:18:23 -0400 |
commit | e939bf7be10b6ec516ffbe75ad4b4dc1151670a7 (patch) | |
tree | 7d59f3f1fad2b83c1cd051562d6375fd4bbf0a7a /spec/features/projects/activity/rss_spec.rb | |
parent | 5a983ac431affc800d5e9db9e83c14710ec29c36 (diff) | |
download | gitlab-ce-e939bf7be10b6ec516ffbe75ad4b4dc1151670a7.tar.gz |
Change gitlab_sign_in to sign_in where possible
Diffstat (limited to 'spec/features/projects/activity/rss_spec.rb')
-rw-r--r-- | spec/features/projects/activity/rss_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/activity/rss_spec.rb b/spec/features/projects/activity/rss_spec.rb index 84c81d43448..7333c465ae0 100644 --- a/spec/features/projects/activity/rss_spec.rb +++ b/spec/features/projects/activity/rss_spec.rb @@ -1,6 +1,7 @@ require 'spec_helper' feature 'Project Activity RSS' do + let(:user) { create(:user) } let(:project) { create(:empty_project, visibility_level: Gitlab::VisibilityLevel::PUBLIC) } let(:path) { activity_namespace_project_path(project.namespace, project) } @@ -10,9 +11,8 @@ feature 'Project Activity RSS' do context 'when signed in' do before do - user = create(:user) project.team << [user, :developer] - gitlab_sign_in(user) + sign_in(user) visit path end |