Create reports/javascript so test:js doesn't fail the first time

This commit is contained in:
Will Daly
2013-10-18 14:07:05 -04:00
parent 7c15edf686
commit 04cce630bf

View File

@@ -55,7 +55,7 @@ end
namespace :'test:js' do
desc "Run the JavaScript tests and print results to the console"
task :run, [:env] => [:clean_test_files, :'assets:coffee'] do |t, args|
task :run, [:env] => [:clean_test_files, :'assets:coffee', JS_REPORT_DIR] do |t, args|
if args[:env].nil?
puts "Running all test suites. To run a specific test suite, try:"
print_js_test_cmds('run')