Skip to content

Commit

Permalink
Search directories recursively for *_spec.js files.
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Karnowski <larry@thinkrelevance.com>
  • Loading branch information
mrowe authored and Larry Karnowski committed May 7, 2009
1 parent ed2820a commit de55d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/javascript_testing_tasks.rake
Expand Up @@ -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
Expand Down

0 comments on commit de55d06

Please sign in to comment.