Sha256: f0b48e064ffec1c8cb056e71db4c3891735c05c5ccbf08d2334ffa625ebccb7b
Contents?: true
Size: 567 Bytes
Versions: 67
Compression:
Stored size: 567 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 ENV['TEST'] = 'true' end end shared_context 'path testing' do def path p ::Albacore::Paths.normalise_slashes p end end
Version data entries
67 entries across 67 versions & 1 rubygems