jasmine-headless-webkit/features/steps/then/templates/it_should_use_reporter.rb
2011-12-30 10:47:08 -05:00

7 lines
210 B
Ruby

Then /^the template should use the "([^"]*)" reporter to "([^"]*)"$/ do |reporter, target|
output = @template_writer.render
output.should include(%{jasmine.HeadlessReporter.#{reporter}("#{target}")})
end