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.37 features/support/env.rb
uricp-0.0.36 features/support/env.rb
uricp-0.0.35 features/support/env.rb
uricp-0.0.34 features/support/env.rb
uricp-0.0.32 features/support/env.rb
uricp-0.0.31 features/support/env.rb
uricp-0.0.30 features/support/env.rb
uricp-0.0.29 features/support/env.rb
uricp-0.0.28 features/support/env.rb
uricp-0.0.27 features/support/env.rb
uricp-0.0.26 features/support/env.rb
uricp-0.0.25 features/support/env.rb
uricp-0.0.24 features/support/env.rb
uricp-0.0.23 features/support/env.rb
uricp-0.0.22 features/support/env.rb
uricp-0.0.21 features/support/env.rb
uricp-0.0.20 features/support/env.rb
uricp-0.0.18 features/support/env.rb
uricp-0.0.17 features/support/env.rb
uricp-0.0.16 features/support/env.rb