diff --git a/compatibility/features/attachments/attachments_steps.rb b/compatibility/features/attachments/attachments_steps.rb index d639fbdd3..984b44f2d 100644 --- a/compatibility/features/attachments/attachments_steps.rb +++ b/compatibility/features/attachments/attachments_steps.rb @@ -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