guard-jasmine-headless-webkit/features/step_definitions/when/i_specify_reporter.rb

7 lines
135 B
Ruby

When /^I specify the reporter "([^"]*)"$/ do |reporter|
@requested_reporter = reporter
@options = { :reporters => reporter }
end