This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lib/rspec/core/formatters Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ def initialize(output)
13
13
super
14
14
@group_level = 0
15
15
16
- @example_started = false
16
+ @example_running = false
17
17
@messages = [ ]
18
18
end
19
19
20
20
def example_started ( _notification )
21
- @example_started = true
21
+ @example_running = true
22
22
end
23
23
24
24
def example_group_started ( notification )
@@ -36,26 +36,26 @@ def example_passed(passed)
36
36
output . puts passed_output ( passed . example )
37
37
38
38
flush_messages
39
- @example_started = false
39
+ @example_running = false
40
40
end
41
41
42
42
def example_pending ( pending )
43
43
output . puts pending_output ( pending . example ,
44
44
pending . example . execution_result . pending_message )
45
45
46
46
flush_messages
47
- @example_started = false
47
+ @example_running = false
48
48
end
49
49
50
50
def example_failed ( failure )
51
51
output . puts failure_output ( failure . example )
52
52
53
53
flush_messages
54
- @example_started = false
54
+ @example_running = false
55
55
end
56
56
57
57
def message ( notification )
58
- if @example_started
58
+ if @example_running
59
59
@messages << notification . message
60
60
else
61
61
output . puts "#{ current_indentation } #{ notification . message } "
You can’t perform that action at this time.
0 commit comments