Sha256: c9a0915b51e47c1bca4f2dd5cac72000b216c10b59fe4b82d50a5ec7f817efeb

Contents?: true

Size: 842 Bytes

Versions: 4

Compression:

Stored size: 842 Bytes

Contents

#!/usr/bin/ruby
# coding: utf-8

BEGIN {
	require 'pathname'
	basedir = Pathname.new( __FILE__ ).dirname.parent

	libdir = basedir + "lib"

	$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
}

if ENV['COVERAGE']
	warn "Coverage doesn't work so great under non-MRI interpreters." if RUBY_ENGINE != "ruby"
	require 'simplecov'
	SimpleCov.start { add_filter '/spec/' }
end

require 'rspec'

require 'logger'
require 'erb'
require 'yaml'

require 'loggability/spechelpers'

require 'configurability'


RSpec.configure do |config|
	config.mock_with( :rspec ) do |config|
		config.syntax = :expect
	end

	config.include( Loggability::SpecHelpers )
	config.treat_symbols_as_metadata_keys_with_true_values = true

	config.filter_run_excluding :only_ruby_19 if RUBY_VERSION < '1.9.2'

end

# vim: set nosta noet ts=4 sw=4:

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
configurability-2.2.0 spec/helpers.rb
configurability-2.1.2 spec/helpers.rb
configurability-2.1.1 spec/helpers.rb
configurability-2.1.0 spec/helpers.rb