Sha256: 1c1d7a2d447d08e9efec4207ce0fb41b95821a2523fc54f983cb22392cecccdf

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

require 'spec_helper'
require 'aruba/api'

RSpec.configure do |config|
  config.include Aruba::Api
  config.include CLIHelpers

  config.before(:all) do
    @__aruba_original_paths = (ENV['PATH'] || '').split(File::PATH_SEPARATOR)
    ENV['PATH'] = ([File.expand_path('bin')] + @__aruba_original_paths).join(File::PATH_SEPARATOR)
    FileUtils.rm_rf(current_dir)
    @aruba_io_wait_seconds = 1.5
  end

  config.after(:all) do
    ENV['PATH'] = @__aruba_original_paths.join(File::PATH_SEPARATOR)
    restore_env
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ssh-allow-0.6.0 spec/acceptance/acceptance_helper.rb