jasmine-headless-webkit/features/steps/then/templates/it_should_use_reporter.rb
2011-12-29 18:37:23 -05:00

7 lines
193 B
Ruby

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