Sha256: 937657aa9cbb0613067ca6f214227f7bcd191c4624d7fbf6439b26bf05e9c91a

Contents?: true

Size: 488 Bytes

Versions: 33

Compression:

Stored size: 488 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
end

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

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
methadone-1.2.2 templates/full/features/support/env.rb.erb
methadone-1.2.1 templates/full/features/support/env.rb.erb
methadone-1.2.0 templates/full/features/support/env.rb.erb
methadone-1.1.0 templates/full/features/support/env.rb.erb
methadone-1.0.0 templates/full/features/support/env.rb.erb
methadone-1.0.0.rc6 templates/full/features/support/env.rb.erb
methadone-1.0.0.rc5 templates/full/features/support/env.rb.erb
methadone-1.0.0.rc4 templates/full/features/support/env.rb.erb
methadone-1.0.0.rc3 templates/full/features/support/env.rb.erb
methadone-1.0.0.rc2 templates/full/features/support/env.rb.erb
methadone-1.0.0.rc1 templates/full/features/support/env.rb.erb
methadone-0.5.1 templates/full/features/support/env.rb.erb
methadone-0.4.1 templates/full/features/support/env.rb.erb