lib/spreewald/web_steps.rb in spreewald-4.4.3 vs lib/spreewald/web_steps.rb in spreewald-4.4.4
- old
+ new
@@ -163,10 +163,10 @@
When /^(?:|I )attach the file "([^"]*)" to "([^"]*)"$/ do |path, field|
options = {}
options[:make_visible] = true if javascript_capable?
patiently do
- attach_file(field, File.expand_path(path), options)
+ attach_file(field, File.expand_path(path), **options)
end
end.overridable
# Checks that some text appears on the page
#