use file to default output dir
This commit is contained in:
parent
d3a87a7fc6
commit
1b959250a0
@ -49,7 +49,8 @@ module Jasmine::Headless
|
|||||||
end
|
end
|
||||||
|
|
||||||
def jhw_reporters
|
def jhw_reporters
|
||||||
reporters.collect do |reporter, output|
|
reporters.collect do |reporter, report, output|
|
||||||
|
output = output || "spec/reports"
|
||||||
%{jasmine.getEnv().addReporter(new jasmine.HeadlessReporter.#{reporter}("#{output}"));}
|
%{jasmine.getEnv().addReporter(new jasmine.HeadlessReporter.#{reporter}("#{output}"));}
|
||||||
end.join("\n")
|
end.join("\n")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user