Skip to content
Browse files

Fix hastur-units test by loading required jars in test helper

  • Loading branch information...
1 parent c39d74b commit ffd7219790c30a10d2c6634de5b974dcbea79ffa Noah Gibbs committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/test_helper.rb
View
4 test/test_helper.rb
@@ -8,6 +8,10 @@
require "scope"
require "mocha"
+# Require mandatory jars
+require "java"
+Dir["build/include_jars/*.jar"].each { |f| require f }
+
# For testing Hastur components, use the local version *first*.
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "lib")

0 comments on commit ffd7219

Please sign in to comment.
Something went wrong with that request. Please try again.