Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/cucumber/formatter/message_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ def initialize(config)
end

def on_envelope(event)
@repository.update(event.envelope)
store_current_test_run_hook_started_id(event)
@current_test_step_id = event.envelope.test_step_started.test_step_id if event.envelope.test_step_started
return unless event.envelope.test_case_started

@current_test_case_started_id = event.envelope.test_case_started.id
@current_test_run_hook_started_id = nil
@repository.update(event.envelope)
end

def on_attach_called(event)
Expand Down