Sha256: 4b13afc73dd1c30e213f9091563d3ba02d1df6f517a7b5657eaf419f8ccd2345

Contents?: true

Size: 542 Bytes

Versions: 18

Compression:

Stored size: 542 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
  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.1.1 spec/spec_helper.rb
albacore-2.0.16 spec/spec_helper.rb
albacore-2.0.15 spec/spec_helper.rb
albacore-2.0.14 spec/spec_helper.rb
albacore-2.0.13 spec/spec_helper.rb
albacore-2.0.12 spec/spec_helper.rb
albacore-2.0.11 spec/spec_helper.rb
albacore-2.0.10 spec/spec_helper.rb
albacore-2.0.9 spec/spec_helper.rb
albacore-2.0.8 spec/spec_helper.rb
albacore-2.0.7 spec/spec_helper.rb
albacore-2.0.6 spec/spec_helper.rb
albacore-2.0.5 spec/spec_helper.rb
albacore-2.0.4 spec/spec_helper.rb
albacore-2.0.3 spec/spec_helper.rb
albacore-2.0.2 spec/spec_helper.rb
albacore-2.0.1 spec/spec_helper.rb
albacore-2.0.0 spec/spec_helper.rb