diff --git a/features/step_definitions/additional_cli_steps.rb b/features/step_definitions/additional_cli_steps.rb index 0fbd97eaaa..69fadf006b 100644 --- a/features/step_definitions/additional_cli_steps.rb +++ b/features/step_definitions/additional_cli_steps.rb @@ -32,11 +32,3 @@ pending "Action Cable testing is not available" end end - -Then "the exit status should be 0 (ignoring CI failure)" do - begin - step "the exit status should be 0" - rescue Exception => e # rubocop:disable Lint/RescueException - raise e unless ENV['CI'] - end -end diff --git a/features/system_specs/system_specs.feature b/features/system_specs/system_specs.feature index f4a96c0516..2ef93f6e54 100644 --- a/features/system_specs/system_specs.feature +++ b/features/system_specs/system_specs.feature @@ -106,4 +106,4 @@ Feature: System spec When I run `rspec spec/system/widget_system_spec.rb` Then the output should contain "1 example, 0 failures" And the output should not contain "starting Puma" - And the exit status should be 0 (ignoring CI failure) + And the exit status should be 0