Permalink
Browse files

ruby 1.9 fix

  • Loading branch information...
1 parent 411257a commit 3f97743c899d299ce247d76d3eeff07ac3c593b9 @chad chad committed with Nov 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tickle.rb
View
@@ -15,7 +15,7 @@ def load_environment
end
def run_tests(dir, n = 2)
- dir = "#{Rails.root}/test/#{dir}/**/*_test.rb" unless dir.index(Rails.root)
+ dir = "#{Rails.root}/test/#{dir}/**/*_test.rb" unless dir.index(Rails.root.to_s)
groups = Dir[dir].sort.in_groups(n, false)
pids = fork_tests(groups)

0 comments on commit 3f97743

Please sign in to comment.