From a722c739945cb83f85340e4a31b717b0f4af64a0 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 17 Jun 2013 18:11:04 -0700 Subject: fixed tests --- test/test_helper.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'test/test_helper.rb') 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" -- cgit v1.2.3