Sha256: 67e5b996db7dfa82ab65d3bbdc2fe5e3c7ba175d7b2f863d81f5b6c4a0c71b45

Contents?: true

Size: 482 Bytes

Versions: 2

Compression:

Stored size: 482 Bytes

Contents

require 'spork'

Spork.prefork do
  require 'rspec'
  require 'pp'
  require 'aruba/cucumber'
  require 'vcr'
  
  APP_ROOT = File.expand_path('../../', __FILE__)
  
  Dir[File.join(APP_ROOT, "spec/support/**/*.rb")].each {|f| require f}

  After do
    KCD.clean
  end

  Around do |scenario, block|
    VCR.use_cassette(scenario.title) do
      block.call
    end
  end

  Before('@slow_process') do
    @aruba_io_wait_seconds = 5
  end
end

Spork.each_run do
  require 'kcd'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
knife_cookbook_dependencies-0.0.6 features/support/env.rb
knife_cookbook_dependencies-0.0.5 features/support/env.rb