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.3.16 spec/spec_helper.rb
albacore-2.3.15 spec/spec_helper.rb
albacore-2.3.14 spec/spec_helper.rb
albacore-2.3.13 spec/spec_helper.rb
albacore-2.3.12 spec/spec_helper.rb
albacore-2.3.11 spec/spec_helper.rb
albacore-2.3.10 spec/spec_helper.rb
albacore-2.3.9 spec/spec_helper.rb
albacore-2.3.8 spec/spec_helper.rb
albacore-2.3.7 spec/spec_helper.rb
albacore-2.3.6 spec/spec_helper.rb
albacore-2.3.5 spec/spec_helper.rb
albacore-2.3.4 spec/spec_helper.rb
albacore-2.3.3 spec/spec_helper.rb
albacore-2.3.2 spec/spec_helper.rb
albacore-2.3.1 spec/spec_helper.rb
albacore-2.3.0 spec/spec_helper.rb
albacore-2.2.1 spec/spec_helper.rb
albacore-2.2.0 spec/spec_helper.rb
albacore-2.2.0.pre.beta.7 spec/spec_helper.rb