Skip to content
Merged
Show file tree
Hide file tree
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 .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ['3.1', '3.2', '3.3', '3.4']
ruby: ['3.2', '3.3', '3.4']
include:
- os: ubuntu-latest
ruby: jruby-9.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ['3.1', '3.2', '3.3', '3.4']
ruby: ['3.2', '3.3', '3.4']
include:
- os: ubuntu-latest
ruby: jruby-9.4
Expand Down
7 changes: 2 additions & 5 deletions lib/cucumber/formatter/message_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,13 @@ def initialize(config)
@current_test_step_id = nil
end

def output_message
raise 'To be implemented'
end

def attach(src, media_type, filename)
attachment_data = {
test_step_id: @current_test_step_id,
test_case_started_id: @current_test_case_started_id,
media_type: media_type,
file_name: filename
file_name: filename,
timestamp: time_to_timestamp(Time.now)
}

if media_type&.start_with?('text/')
Expand Down
Loading