Permalink
Browse files

Fix requiring of optional test deps

  • Loading branch information...
1 parent 915bfd7 commit 4076077be6ba226dde087a4f52db80c8eb143f86 @mynyml committed Feb 8, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test_helper.rb
View
6 test/test_helper.rb
@@ -1,8 +1,8 @@
require 'minitest/autorun'
-begin require 'ruby-debug'; rescue; end
-begin require 'redgreen' ; rescue; end
-begin require 'phocus' ; rescue; end
+begin require 'ruby-debug'; rescue LoadError; end
+begin require 'redgreen' ; rescue LoadError; end
+begin require 'phocus' ; rescue LoadError; end
require 'lib/harmony'

0 comments on commit 4076077

Please sign in to comment.