Sha256: c96920c2d0926a769c975f8979b37f0e3b7be4cb4ee99449551043e4e589f3a4

Contents?: true

Size: 600 Bytes

Versions: 2

Compression:

Stored size: 600 Bytes

Contents

require 'aruba/cucumber'
require 'methadone/cucumber'

ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
LIB_DIR = File.join(File.expand_path(File.dirname(__FILE__)),'..','..','lib')

Before do
  # Using "announce" causes massive warnings on 1.9.2
  @puts = true
  @original_rubylib = ENV['RUBYLIB']
  ENV['RUBYLIB'] = LIB_DIR + File::PATH_SEPARATOR + ENV['RUBYLIB'].to_s

  @original_home = ENV['HOME']
  ENV['HOME'] = File.expand_path( current_dir )
end

After do
  ENV['RUBYLIB'] = @original_rubylib
  ENV['HOME'] = @original_home
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
howami-0.0.2 features/support/env.rb
howami-0.0.1 features/support/env.rb