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

Version Path
albacore-2.0.0.rc.21 spec/spec_helper.rb
albacore-2.0.0.rc.20 spec/spec_helper.rb
albacore-2.0.0.rc.19 spec/spec_helper.rb
albacore-2.0.0.rc.18 spec/spec_helper.rb
albacore-2.0.0.rc.17 spec/spec_helper.rb
albacore-2.0.0.rc.15 spec/spec_helper.rb
albacore-2.0.0.rc.14 spec/spec_helper.rb
albacore-2.0.0.rc.13 spec/spec_helper.rb
albacore-2.0.0.rc.12 spec/spec_helper.rb
albacore-2.0.0.rc.11 spec/spec_helper.rb
albacore-2.0.0.rc.10 spec/spec_helper.rb
albacore-2.0.0.rc.9 spec/spec_helper.rb
albacore-2.0.0.rc.8 spec/spec_helper.rb
albacore-2.0.0.rc.7 spec/spec_helper.rb
albacore-2.0.0.rc.6 spec/spec_helper.rb
albacore-2.0.0.rc.5 spec/spec_helper.rb
albacore-2.0.0.rc.4 spec/spec_helper.rb
albacore-2.0.0.rc.3 spec/spec_helper.rb