jasmine-headless-webkit/features/steps/then/templates/it_should_use_reporter.rb

7 lines
210 B
Ruby
Raw Normal View History

2011-12-29 23:37:23 +00:00
Then /^the template should use the "([^"]*)" reporter to "([^"]*)"$/ do |reporter, target|
output = @template_writer.render
output.should include(%{jasmine.HeadlessReporter.#{reporter}("#{target}")})
2011-12-29 23:37:23 +00:00
end