Project

General

Profile

Download (537 Bytes) Statistics
| Branch: | Tag: | Revision:
require File.expand_path('../test_helper', File.dirname(__FILE__))

class TestHelper
class << self
attr_accessor :use_present_service_2, :present_service_is_running

def reset
self.use_present_service_2 = false
self.present_service_is_running = false
end
end
end

module ResetTestState
def self.included(klass)
klass.before do
TestHelper.reset
end
end
end

TEST_DIR = File.dirname(__FILE__)

ForemanMaintain.setup(
:config_file => File.join(TEST_DIR, 'config/foreman_maintain.yml.test')
)
(7-7/8)