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

Version Path
albacore-2.5.10 spec/spec_helper.rb
albacore-2.5.9 spec/spec_helper.rb
albacore-2.5.8 spec/spec_helper.rb
albacore-2.5.6 spec/spec_helper.rb
albacore-2.5.5 spec/spec_helper.rb
albacore-2.5.4 spec/spec_helper.rb
albacore-2.5.3 spec/spec_helper.rb
albacore-2.5.2 spec/spec_helper.rb
albacore-2.5.1 spec/spec_helper.rb
albacore-2.5.0 spec/spec_helper.rb
albacore-2.4.3 spec/spec_helper.rb
albacore-2.4.2 spec/spec_helper.rb
albacore-2.4.1 spec/spec_helper.rb
albacore-2.4.0 spec/spec_helper.rb
albacore-2.3.22 spec/spec_helper.rb
albacore-2.3.21 spec/spec_helper.rb
albacore-2.3.20 spec/spec_helper.rb
albacore-2.3.19 spec/spec_helper.rb
albacore-2.3.18 spec/spec_helper.rb
albacore-2.3.17 spec/spec_helper.rb