Sha256: e7ab5ac6aaaff0d43a08783c0835c26c75ae9e881fc48ebe61682ef663eeeeb3

Contents?: true

Size: 774 Bytes

Versions: 2

Compression:

Stored size: 774 Bytes

Contents

#!/usr/bin/env ruby
# vim: set nosta noet ts=4 sw=4:
# encoding: utf-8

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

	libdir = basedir + "lib"

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

# SimpleCov test coverage reporting; enable this using the :coverage rake task
if ENV['COVERAGE']
	$stderr.puts "\n\n>>> Enabling coverage report.\n\n"
	require 'simplecov'
	SimpleCov.start do
		add_filter 'spec'
	end
end


require 'loggability' unless defined?( Loggability )

#
# Some helper functions for RSpec specifications
#
module Loggability::SpecHelpers

end # Loggability::SpecHelpers


### Mock with RSpec
RSpec.configure do |c|
	c.mock_with( :rspec )

	c.include( Loggability::SpecHelpers )
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
loggability-0.1.0 spec/lib/helpers.rb
loggability-0.0.2 spec/lib/helpers.rb