summaryrefslogtreecommitdiff
path: root/spec/policies
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-05-09 13:47:22 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-05-09 13:47:22 +0200
commita676db747b4ca2d1d30cbee35ab328ce0d4f2376 (patch)
tree472923b2f98a70ddf197f810f5ca24cc6848cbb0 /spec/policies
parenteb61b3b3aad9ff34d095a6ed2b5eda76170bef4f (diff)
downloadgitlab-ce-a676db747b4ca2d1d30cbee35ab328ce0d4f2376.tar.gz
Robustify environment policy specs to pass on EEfix/gb/make-environment-policy-specs-to-pass-on-ee
Diffstat (limited to 'spec/policies')
-rw-r--r--spec/policies/environment_policy_spec.rb2
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