spec/spec_helper.rb in kumogata-0.4.1 vs spec/spec_helper.rb in kumogata-0.4.2
- old
+ new
@@ -59,10 +59,10 @@
def eval_template(template, options = {})
kumogata_options = Kumogata::ArgumentParser::DEFAULT_OPTIONS.merge(options[:options] || {})
template_ext = options[:template_ext] || '.rb'
template = tempfile(template, template_ext) do |f|
- Kumogata::Client.new(kumogata_options).send(:evaluate_template, f)
+ Kumogata::Client.new(kumogata_options).send(:evaluate_template, f, f.path)
end
if options[:update_deletion_policy]
update_deletion_policy(template)
end