Permalink
Browse files

Fixed running test_ files in watchr spec.

  • Loading branch information...
1 parent ebb5445 commit 2f61164c7814e385eb73c21bba055987ed356b81 @jnunemaker jnunemaker committed Mar 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 specs.watchr
View
2 specs.watchr
@@ -37,7 +37,7 @@ def related_test_files(path)
end
watch('test/test_helper\.rb') { system('clear'); run_all_tests }
-watch('test/.*/test_.*\.rb') { |m| system('clear'); run_test_file(m[0]) }
+watch('test/test_.*\.rb') { |m| system('clear'); run_test_file(m[0]) }
watch('lib/.*') { |m| related_test_files(m[0]).each { |file| run_test_file(file) } }
# Ctrl-\

0 comments on commit 2f61164

Please sign in to comment.