Skip to content

Commit 443fa2b

Browse files
committed
[debug] exit status
1 parent 31cacb8 commit 443fa2b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

‎features/step_definitions/additional_cli_steps.rb‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,13 @@
3232
pending"Action Cable testing is not available"
3333
end
3434
end
35+
36+
Then"the exit status should be 0 or I debug"do
37+
begin
38+
step"the exit status should be 0"
39+
rescueException=>e
40+
putsall_output
41+
putse
42+
raisee
43+
end
44+
end

‎features/system_specs/system_specs.feature‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ Feature: System spec
106106
When I run `rspec spec/system/widget_system_spec.rb`
107107
Then the output should contain "1 example, 0 failures"
108108
And the output should not contain "starting Puma"
109-
And the exit status should be 0
109+
And the exit status should be 0 or I debug

0 commit comments

Comments
(0)