Sha256: c978a8e185b3a81f80daf0249ef385afb2b8d3b0f8ba1f84da13959b606e6aad
Contents?: true
Size: 518 Bytes
Versions: 1
Compression:
Stored size: 518 Bytes
Contents
Given /^a ESC\/POS template:$/ do |string| @str_template = string end Given /^a titled report:$/ do |string| eval string end When /^I render the titled report with the given template$/ do @output = @report.render(:template => @str_template) end Then /^I will see "([^"]*)"$/ do |title| @output.should == title end Given /^"([^"]*)" is a template directory$/ do |path| Rescpos.configure do |config| config.template_path = path end end When /^I render the report$/ do @output = @report.render end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rescpos-0.0.1 | features/step_definitions/report_steps.rb |