Sha256: f197df148430a346792008802e2cfbc83bfa7a78c3a7b4898dbce507923dce3d

Contents?: true

Size: 943 Bytes

Versions: 27

Compression:

Stored size: 943 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
  FileUtils.rm_rf(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
end

Version data entries

27 entries across 27 versions & 5 rubygems

Version Path
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/aruba-0.5.1/lib/aruba/cucumber/hooks.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/aruba-0.5.1/lib/aruba/cucumber/hooks.rb
aruba-0.5.1 lib/aruba/cucumber/hooks.rb
aruba-0.5.0 lib/aruba/cucumber/hooks.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/aruba-0.4.11/lib/aruba/cucumber/hooks.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/aruba-0.4.11/lib/aruba/cucumber/hooks.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/aruba-0.4.11/lib/aruba/cucumber/hooks.rb
ftl-0.2.0 vendor/bundle/gems/aruba-0.4.11/lib/aruba/cucumber/hooks.rb
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/aruba-0.4.11/lib/aruba/cucumber/hooks.rb
aruba-0.4.11 lib/aruba/cucumber/hooks.rb
aruba-0.4.10 lib/aruba/cucumber/hooks.rb
aruba-0.4.9 lib/aruba/cucumber/hooks.rb
aruba-0.4.8 lib/aruba/cucumber/hooks.rb
rjobs-0.3.3.alpha vendor/aruba-0.4.7/lib/aruba/hooks.rb
rjobs-0.3.2.alpha vendor/aruba-0.4.7/lib/aruba/hooks.rb
rjobs-0.3.1.alpha vendor/aruba-0.4.7/lib/aruba/hooks.rb
rjobs-0.3.0.alpha vendor/aruba-0.4.7/lib/aruba/hooks.rb
rjobs-0.2.0.alpha vendor/aruba-0.4.7/lib/aruba/hooks.rb
rjobs-0.1.0.alpha vendor/aruba-0.4.7/lib/aruba/hooks.rb
aruba-0.4.7 lib/aruba/hooks.rb