Sha256: 173454e54d51cbcc77406fa1dac3fc8af7b6833afe68adbce145b1611937425a

Contents?: true

Size: 557 Bytes

Versions: 35

Compression:

Stored size: 557 Bytes

Contents

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

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
end

After do
  ENV['RUBYLIB'] = @original_rubylib
  
  FileUtils.rm_rf(Dir.glob('/tmp/uricp/*'))

end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
uricp-0.0.15 features/support/env.rb
uricp-0.0.14 features/support/env.rb
uricp-0.0.13 features/support/env.rb
uricp-0.0.12 features/support/env.rb
uricp-0.0.11 features/support/env.rb
uricp-0.0.10 features/support/env.rb
uricp-0.0.9 features/support/env.rb
uricp-0.0.8 features/support/env.rb
uricp-0.0.7 features/support/env.rb
uricp-0.0.6 features/support/env.rb
uricp-0.0.5 features/support/env.rb
uricp-0.0.4 features/support/env.rb
uricp-0.0.3 features/support/env.rb
uricp-0.0.2 features/support/env.rb
uricp-0.0.1 features/support/env.rb