diff options
Diffstat (limited to 'spec/services/environments/stop_service_spec.rb')
-rw-r--r-- | spec/services/environments/stop_service_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/services/environments/stop_service_spec.rb b/spec/services/environments/stop_service_spec.rb index 6e3b36b5636..04116c5238f 100644 --- a/spec/services/environments/stop_service_spec.rb +++ b/spec/services/environments/stop_service_spec.rb @@ -135,8 +135,7 @@ RSpec.describe Environments::StopService, feature_category: :continuous_delivery context 'when branch for stop action is protected' do before do project.add_developer(user) - create(:protected_branch, :no_one_can_push, - name: 'master', project: project) + create(:protected_branch, :no_one_can_push, name: 'master', project: project) end it 'does not stop environment' do |