Sha256: 4a68b87e1a91e28cad94051c7c0258392cb236ca4c13b3fef56501e89d496bf7

Contents?: true

Size: 1.07 KB

Versions: 5

Compression:

Stored size: 1.07 KB

Contents

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

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

	thingfishdir = basedir.parent + 'Thingfish'
	thingfishlib = thingfishdir + 'lib'

	strelkadir = basedir.parent + 'Strelka'
	strelkalib = strelkadir + 'lib'

	$LOAD_PATH.unshift( thingfishlib.to_s ) if thingfishlib.exist?
	$LOAD_PATH.unshift( strelkalib.to_s ) if strelkalib.exist?
}


# SimpleCov test coverage reporting; enable this using the :coverage rake task
require 'simplecov' if ENV['COVERAGE']

require 'loggability'
require 'loggability/spechelpers'
require 'configurability'
require 'configurability/behavior'

require 'rspec'
require 'thingfish'
require 'thingfish/spechelpers'

Loggability.format_with( :color ) if $stdout.tty?


### Mock with RSpec
RSpec.configure do |c|
	include Thingfish::SpecHelpers
	include Thingfish::SpecHelpers::Constants

	c.run_all_when_everything_filtered = true
	c.filter_run :focus
	c.order = 'random'
	c.mock_with( :rspec ) do |mock|
		mock.syntax = :expect
	end

	c.include( Loggability::SpecHelpers )
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thingfish-datastore-filesystem-0.2.2 spec/helpers.rb
thingfish-datastore-filesystem-0.2.1 spec/helpers.rb
thingfish-datastore-filesystem-0.2.0 spec/helpers.rb
thingfish-datastore-filesystem-0.1.1 spec/helpers.rb
thingfish-datastore-filesystem-0.0.1.pre20161103180658 spec/helpers.rb