diff options
author | elijah <elijah@riseup.net> | 2012-11-01 21:45:50 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-11-01 21:45:50 -0700 |
commit | 134c09ef9e58dc52136610e480b13176a16d9715 (patch) | |
tree | 2c2999bc111b75efd4fde5c61adecc2aa6bcc689 /test/test_helper.rb | |
parent | f0e8ae8b25e4fdbb0420756e1dada3d329d6a13d (diff) |
added some initial tests. yeah.
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 2e33705..e761086 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,9 +1,19 @@ -require 'test/unit' +$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib') +require 'rubygems' +require 'minitest/autorun' +require 'leap_cli' -# Add test libraries you want to use here, e.g. mocha - -class Test::Unit::TestCase +class MiniTest::Unit::TestCase # Add global extensions to the test case class here - + + def manager + @manager ||= begin + LeapCli::Path.set_root(File.dirname(__FILE__)) + manager = LeapCli::Config::Manager.new + manager.load + manager + end + end + end |