diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-06-09 20:12:51 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-06-10 00:18:36 +0300 |
commit | 34ba80392dd23614f60a759ec41b4df1f2915f49 (patch) | |
tree | 1ee3af3c41888aee4b196f6cf91f917e11176a21 /spec/models/project_team_spec.rb | |
parent | ce37a209c6394115eb77c01b877dfd3ae1a6e7e1 (diff) |
Use :request_store hooks on specs
Diffstat (limited to 'spec/models/project_team_spec.rb')
-rw-r--r-- | spec/models/project_team_spec.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/models/project_team_spec.rb b/spec/models/project_team_spec.rb index 362565506e5..497e3cdf415 100644 --- a/spec/models/project_team_spec.rb +++ b/spec/models/project_team_spec.rb @@ -389,16 +389,7 @@ describe ProjectTeam, models: true do end describe '#max_member_access_for_user_ids' do - context 'with RequestStore enabled' do - before do - RequestStore.begin! - end - - after do - RequestStore.end! - RequestStore.clear! - end - + context 'with RequestStore enabled', :request_store do include_examples 'max member access for users' def access_levels(users) |