Sha256: 93b5c6b6743151d67db9d3dc671ee018c5af1226057a2cc1575ccb3bc139fea0

Contents?: true

Size: 479 Bytes

Versions: 24

Compression:

Stored size: 479 Bytes

Contents

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

  config.before(:each, aruba: true) do
    @aruba_timeout_seconds = 180
    FileUtils.rm_rf(current_dir)
    @__aruba_original_paths = (ENV['PATH'] || '').split(File::PATH_SEPARATOR)
    ENV['PATH'] = ([File.expand_path('bin')] + @__aruba_original_paths).join(File::PATH_SEPARATOR)
  end

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

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
teaspoon-0.9.1 spec/support/aruba.rb
teaspoon-0.9.0 spec/support/aruba.rb
guard-teaspoon-0.8.0 spec/support/aruba.rb
teaspoon-0.8.0 spec/support/aruba.rb
teaspoon-0.7.9 spec/support/aruba.rb
teaspoon-0.7.8 spec/support/aruba.rb
teaspoon-0.7.7 spec/support/aruba.rb
guard-teaspoon-0.0.4 spec/support/aruba.rb
teaspoon-0.7.6 spec/support/aruba.rb
teaspoon-0.7.5 spec/support/aruba.rb
guard-teaspoon-0.0.3 spec/support/aruba.rb
teaspoon-0.7.4 spec/support/aruba.rb
teabag-0.7.3 spec/support/aruba.rb
teabag-0.7.2 spec/support/aruba.rb
teabag-0.7.1 spec/support/aruba.rb
teabag-0.7.0 spec/support/aruba.rb
guard-teabag-0.0.2 spec/support/aruba.rb
teabag-0.6.0 spec/support/aruba.rb
teabag-0.5.5 spec/support/aruba.rb
teabag-0.5.4 spec/support/aruba.rb