diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-19 04:45:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-19 04:45:44 +0300 |
commit | 85dc423f7090da0a52c73eb66faf22ddb20efff9 (patch) | |
tree | 9160f299afd8c80c038f08e1545be119f5e3f1e1 /spec/features/task_lists_spec.rb | |
parent | 15c2c8c66dbe422588e5411eee7e68f1fa440bb8 (diff) |
Add latest changes from gitlab-org/gitlab@13-4-stable-ee
Diffstat (limited to 'spec/features/task_lists_spec.rb')
-rw-r--r-- | spec/features/task_lists_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/task_lists_spec.rb b/spec/features/task_lists_spec.rb index fc3f8a94318..a9cfe794177 100644 --- a/spec/features/task_lists_spec.rb +++ b/spec/features/task_lists_spec.rb @@ -5,9 +5,9 @@ require 'spec_helper' RSpec.describe 'Task Lists' do include Warden::Test::Helpers - let(:project) { create(:project, :public, :repository) } - let(:user) { create(:user) } - let(:user2) { create(:user) } + let_it_be(:project) { create(:project, :public, :repository) } + let_it_be(:user) { create(:user) } + let_it_be(:user2) { create(:user) } let(:markdown) do <<-MARKDOWN.strip_heredoc @@ -72,12 +72,12 @@ RSpec.describe 'Task Lists' do EOT end - before do - Warden.test_mode! - + before(:all) do project.add_maintainer(user) project.add_guest(user2) + end + before do login_as(user) end |