Sha256: 4b13afc73dd1c30e213f9091563d3ba02d1df6f517a7b5657eaf419f8ccd2345
Contents?: true
Size: 542 Bytes
Versions: 18
Compression:
Stored size: 542 Bytes
Contents
require 'rspec' require 'albacore/albacore_module' RSpec.configure do |config| config.raise_errors_for_deprecations! if ENV['RAISE_DEPRECATED'] config.before(:each) do @logout = StringIO.new @logout = STDOUT if ENV['TEST_DEBUG'] @output = StringIO.new ::Albacore.set_application(::Albacore::Application.new(@logout, @output)) ::Albacore.log_level = Logger::DEBUG @logger = ::Albacore.application.logger end end shared_context 'path testing' do def path p ::Albacore::Paths.normalise_slashes p end end
Version data entries
18 entries across 18 versions & 1 rubygems