Browse files

Avoid crash with current rcov in dev_tools.

  • Loading branch information...
1 parent 1b71d9c commit d938380b841b738a3b06f943cb6d6440729b723f @thegcat thegcat committed Sep 9, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 spec/spec_helper.rb
View
5 spec/spec_helper.rb
@@ -47,8 +47,9 @@
#
# http://www.pervasivecode.com/blog/2008/05/16/making-rcov-measure-your-whole-rails-app-even-if-tests-miss-entire-source-files/
if defined?(Rcov)
- all_app_files = Dir.glob('{app,lib}/**/*.rb')
- all_app_files.each{|rb| require rb}
+ # TODO: This clashes with current dev_tools version…
+ #all_app_files = Dir.glob('{app,lib}/**/*.rb')
+ #all_app_files.each{|rb| require rb}
end

0 comments on commit d938380

Please sign in to comment.