Sha256: 1485e79f706770198d3d236f2d96d017a80f4d7373af5cf6b111a16a4d40dd86

Contents?: true

Size: 495 Bytes

Versions: 15

Compression:

Stored size: 495 Bytes

Contents

if ENV['COVERAGE']
	begin
		require 'simplecov'
		
		SimpleCov.start do
			add_filter "/spec/"
		end
		
		if ENV['TRAVIS']
			require 'coveralls'
			Coveralls.wear!
		end
	rescue LoadError
		warn "Could not load simplecov: #{$!}"
	end
end

require 'bundler/setup'
require 'utopia'

RSpec.configure do |config|
	# Enable flags like --only-failures and --next-failure
	config.example_status_persistence_file_path = '.rspec_status'

	config.expect_with :rspec do |c|
		c.syntax = :expect
	end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
utopia-2.5.4 setup/site/spec/spec_helper.rb
utopia-2.5.3 setup/site/spec/spec_helper.rb
utopia-2.5.1 setup/site/spec/spec_helper.rb
utopia-2.5.0 setup/site/spec/spec_helper.rb
utopia-2.4.1 setup/site/spec/spec_helper.rb
utopia-2.4.0 setup/site/spec/spec_helper.rb
utopia-2.3.0 setup/site/spec/spec_helper.rb
utopia-2.2.0 setup/site/spec/spec_helper.rb
utopia-2.1.2 setup/site/spec/spec_helper.rb
utopia-2.1.1 setup/site/spec/spec_helper.rb
utopia-2.1.0 setup/site/spec/spec_helper.rb
utopia-2.0.3 setup/site/spec/spec_helper.rb
utopia-2.0.2 setup/site/spec/spec_helper.rb
utopia-2.0.1 setup/site/spec/spec_helper.rb
utopia-2.0.0 setup/site/spec/spec_helper.rb