Sha256: e9f88449b790e5af6da37e6f75d71d9c9c72aaf75e9e9c484c0f90d9ac5d1014
Contents?: true
Size: 475 Bytes
Versions: 18
Compression:
Stored size: 475 Bytes
Contents
require 'rspec' require 'albacore/albacore_module' RSpec.configure do |config| 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