lib/app_generators/taza/templates/rakefile.rb.erb in taza-0.8.7 vs lib/app_generators/taza/templates/rakefile.rb.erb in taza-0.9.0
- old
+ new
@@ -1,10 +1,11 @@
<%= "#Generated at #{Time.now}" %>
require 'rubygems'
require 'taza/tasks'
Taza::Rake::Tasks.new do |t|
- file_hole = "artifacts/#{Time.now.to_i}"
- t.spec_opts = ["--format html:#{file_hole}/index.html",
- "--format p",
- "--format failing_examples:#{file_hole}/failing_examples.txt"]
+ file_hole = FileUtils.mkdir_p "artifacts/#{Time.now.to_i}"
+ t.spec_opts = ["--require taza",
+ "--format html --out #{file_hole}/index.html",
+ "--format p" ,
+ "--format FailingExamplesFormatter --out #{file_hole}/failing_examples.txt"]
end