# -*- coding: utf-8 -*- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) $LOAD_PATH.unshift APP_ROOT $LOAD_PATH.unshift File.join(APP_ROOT) $LOAD_PATH.unshift File.join(APP_ROOT, 'lib') require File.dirname(__FILE__) + '/../lib/sysadmin' if ENV['COVERAGE'] == 'on' require 'simplecov' require 'simplecov-rcov' SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter SimpleCov.start do add_filter "spec" add_filter "vendor" end end unless /^1\.8\./ =~ RUBY_VERSION require 'rspec' end RSpec.configure do |config| end