11 lines
245 B
Ruby
11 lines
245 B
Ruby
|
Given /^I have the following reporters:$/ do |table|
|
||
|
@options[:reporters] = []
|
||
|
|
||
|
table.hashes.each do |hash|
|
||
|
reporter = [ hash['Name'] ]
|
||
|
reporter << hash['File'] if !hash['File'].empty?
|
||
|
|
||
|
@options[:reporters] << reporter
|
||
|
end
|
||
|
end
|