diff options
author | elijah <elijah@riseup.net> | 2013-06-17 18:11:04 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-06-17 18:11:04 -0700 |
commit | a722c739945cb83f85340e4a31b717b0f4af64a0 (patch) | |
tree | 2952561c808101ca6e120acf670a8689af9e1892 /test/test_helper.rb | |
parent | 638642f464823a2cbc263c97014e737ed528b790 (diff) |
fixed tests
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index a031caa..c813ead 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -9,8 +9,9 @@ class MiniTest::Unit::TestCase # Add global extensions to the test case class here def setup - LeapCli::Path.set_platform_path(test_platform_path) - LeapCli::Path.set_provider_path(test_provider_path) + LeapCli.leapfile.load(test_provider_path) + LeapCli::Path.set_platform_path(LeapCli.leapfile.platform_directory_path) + LeapCli::Path.set_provider_path(LeapCli.leapfile.provider_directory_path) end def manager @@ -33,9 +34,9 @@ class MiniTest::Unit::TestCase `#{ruby_path} #{base_path}/bin/leap #{args.join ' '}` end - def test_platform_path - "#{base_path}/test/leap_platform" - end + #def test_platform_path + # "#{base_path}/test/leap_platform" + #end def test_provider_path "#{base_path}/test/provider" |