We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66834b2 commit 672ce68Copy full SHA for 672ce68
compatibility/features/attachments/attachments_steps.rb
@@ -36,3 +36,7 @@ def cck_asset_path
36
When('a PDF document is attached and renamed') do
37
attach(File.open("#{cck_asset_path}/document.pdf"), 'document/pdf', 'renamed.pdf')
38
end
39
+
40
+When('a link to {string} is attached') do |link|
41
+ attach(link, 'text/uri-list')
42
+end
0 commit comments