Skip to content

Commit

Permalink
Add step for text/uri-list example (#1764)
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-hill authored Sep 10, 2024
1 parent 66834b2 commit 672ce68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compatibility/features/attachments/attachments_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ def cck_asset_path
When('a PDF document is attached and renamed') do
attach(File.open("#{cck_asset_path}/document.pdf"), 'document/pdf', 'renamed.pdf')
end

When('a link to {string} is attached') do |link|
attach(link, 'text/uri-list')
end

0 comments on commit 672ce68

Please sign in to comment.