diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-09 13:47:22 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-09 13:47:22 +0200 |
commit | a676db747b4ca2d1d30cbee35ab328ce0d4f2376 (patch) | |
tree | 472923b2f98a70ddf197f810f5ca24cc6848cbb0 | |
parent | eb61b3b3aad9ff34d095a6ed2b5eda76170bef4f (diff) | |
download | gitlab-ce-a676db747b4ca2d1d30cbee35ab328ce0d4f2376.tar.gz |
Robustify environment policy specs to pass on EEfix/gb/make-environment-policy-specs-to-pass-on-ee
-rw-r--r-- | spec/policies/environment_policy_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/environment_policy_spec.rb b/spec/policies/environment_policy_spec.rb index 0e15beaa5e8..650432520bb 100644 --- a/spec/policies/environment_policy_spec.rb +++ b/spec/policies/environment_policy_spec.rb @@ -33,7 +33,7 @@ describe EnvironmentPolicy do let(:project) { create(:project, :public) } before do - project.add_master(user) + project.add_developer(user) end context 'when team member has ability to stop environment' do |