Permalink
Browse files

Search directories recursively for *_spec.js files.

Signed-off-by: Larry Karnowski <larry@thinkrelevance.com>
  • Loading branch information...
1 parent ed2820a commit de55d06731a36b7addafac319463b4afa5162234 @mrowe mrowe committed with Larry Karnowski May 7, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/javascript_testing_tasks.rake
@@ -18,7 +18,7 @@ namespace :test do
if ENV["TEST"]
all_fine = false unless system("#{test_runner_command} #{ENV["TEST"]}_spec.js")
else
- Dir.glob("*_spec.js").each do |file|
+ Dir.glob("**/*_spec.js").each do |file|
all_fine = false unless system("#{test_runner_command} #{file}")
end
end

0 comments on commit de55d06

Please sign in to comment.