Commit 68a1c522 authored by Yehuda Katz's avatar Yehuda Katz

Fix rake test

parent e34d97c0
...@@ -35,7 +35,7 @@ task :prepare_tests => "promise-tests/lib/adapters/rsvp.js" ...@@ -35,7 +35,7 @@ task :prepare_tests => "promise-tests/lib/adapters/rsvp.js"
task :prepare_tests => test task :prepare_tests => test
end end
task :test do task :test => :prepare_tests do
cd "promise-tests" do cd "promise-tests" do
sh "./node_modules/mocha/bin/mocha lib/promises-a.js lib/always-async.js lib/resolution-races.js lib/returning-a-promise.js --reporter spec" sh "./node_modules/mocha/bin/mocha lib/promises-a.js lib/always-async.js lib/resolution-races.js lib/returning-a-promise.js --reporter spec"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment