aboutsummaryrefslogtreecommitdiff
path: root/test/test_helper.rb
blob: e76108649cc94def1703cb60e24f3e24d592fcf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'rubygems'
require 'minitest/autorun'
require 'leap_cli'

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