Sha256: d061f01c56d1bcf0cbfb22f2e45a89ee8a2ed8aae2dc843084928d5af0dfa66d

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

require 'rspec'
require 'albacore/albacore_module'

RSpec.configure do |config|
  config.before(:each) do
    @logout = StringIO.new
    #@logout = STDOUT
    @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

2 entries across 2 versions & 1 rubygems

Version Path
albacore-2.0.0.rc.2 spec/spec_helper.rb
albacore-2.0.0.rc.1 spec/spec_helper.rb