Sha256: 58345a4dc46a8678c114d98de516a8bc695bdcb90db0672874454c99e404d138

Contents?: true

Size: 588 Bytes

Versions: 3

Compression:

Stored size: 588 Bytes

Contents

# -*- 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sysadmin-0.2.0 spec/spec_helper.rb
sysadmin-0.1.5 spec/spec_helper.rb
sysadmin-0.1.4 spec/spec_helper.rb