flowerbox-delivery/features/step_definitions/when/i_instantiate_template_builder.rb
2012-01-23 08:56:43 -05:00

4 lines
237 B
Ruby

When /^I instantiate a template renderer with the template "([^"]*)" and the files:$/ do |template, table|
@template_renderer = Flowerbox::Delivery::TemplateRenderer.new(:files => table.raw.collect(&:first), :template => template)
end