Sha256: 3f8063d73675588e643d550fe94b17ef93b8657c67d710185ad16586dfcf0124

Contents?: true

Size: 560 Bytes

Versions: 2

Compression:

Stored size: 560 Bytes

Contents

Bundler.require :default, :development

require 'support/cli'
require 'support/fake'
require 'support/fake_gem_server'
require 'support/fake_gemcutter'
require 'support/matchers'
require 'support/path'

module SpecHelpers
  def set_host(host='http://localhost:9292')
    LibGems.host = host
    LibGems.sources = [LibGems.host]
  end
end

RSpec.configure do |config|
  working_dir = Dir.pwd

  config.include SpecHelpers

  config.around do |blk|
    reset!

    blk.call

    kill!
    stop_fake
    Dir.chdir working_dir if Dir.pwd != working_dir
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spade-packager-0.1.0.1 spec/spec_helper.rb
spade-packager-0.1.0 spec/spec_helper.rb