Skip to content

Commit 672ce68

Browse files
authored
Add step for text/uri-list example (#1764)
1 parent 66834b2 commit 672ce68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compatibility/features/attachments/attachments_steps.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@ def cck_asset_path
3636
When('a PDF document is attached and renamed') do
3737
attach(File.open("#{cck_asset_path}/document.pdf"), 'document/pdf', 'renamed.pdf')
3838
end
39+
40+
When('a link to {string} is attached') do |link|
41+
attach(link, 'text/uri-list')
42+
end

0 commit comments

Comments
 (0)