Sha256: 615b90ed11d28646e7a8f50e71a987c488b163d2f31287c4c2f50bd0d04b9977

Contents?: true

Size: 950 Bytes

Versions: 7

Compression:

Stored size: 950 Bytes

Contents

Before('@disable-bundler') do
  unset_bundler_env_vars
end

Before do
  @__aruba_original_paths = (ENV['PATH'] || '').split(File::PATH_SEPARATOR)
  ENV['PATH'] = ([File.expand_path('bin')] + @__aruba_original_paths).join(File::PATH_SEPARATOR)
end

After do
  ENV['PATH'] = @__aruba_original_paths.join(File::PATH_SEPARATOR)
end

Before('~@no-clobber') do
  clean_current_dir
end

Before('@puts') do
  @puts = true
end

Before('@announce-cmd') do
  @announce_cmd = true
end

Before('@announce-stdout') do
  @announce_stdout = true
end

Before('@announce-stderr') do
  @announce_stderr = true
end

Before('@announce-dir') do
  @announce_dir = true
end

Before('@announce-env') do
  @announce_env = true
end

Before('@announce') do
  @announce_stdout = true
  @announce_stderr = true
  @announce_cmd = true
  @announce_dir = true
  @announce_env = true
end

Before('@ansi') do
  @aruba_keep_ansi = true
end

After do
  restore_env
  processes.clear
end

Version data entries

7 entries across 5 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/aruba-0.6.2/lib/aruba/cucumber/hooks.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/aruba-0.6.2/lib/aruba/cucumber/hooks.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/aruba-0.6.1/lib/aruba/cucumber/hooks.rb
aruba-0.6.2 lib/aruba/cucumber/hooks.rb
aruba-0.6.1 lib/aruba/cucumber/hooks.rb
aruba-0.6.0 lib/aruba/cucumber/hooks.rb
aruba-0.5.4 lib/aruba/cucumber/hooks.rb