Sha256: e206f2d273e5c21b16b24f19bc38fc153c95d0ed9456b416afa71136f6397f31

Contents?: true

Size: 764 Bytes

Versions: 6

Compression:

Stored size: 764 Bytes

Contents

# require "minitest/spec"
# World(MiniTest::Assertions)
# MiniTest::Spec.new(nil)

# require 'minitest'
# module MiniTestAssertions
#   def self.extended(base)
#     base.extend(MiniTest::Assertions)
#     base.assertions = 0
#   end

#   attr_accessor :assertions
# end
# World(MiniTestAssertions)


require "aruba/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

6 entries across 6 versions & 1 rubygems

Version Path
troo-0.0.7 features/support/env.rb
troo-0.0.6 features/support/env.rb
troo-0.0.5 features/support/env.rb
troo-0.0.4 features/support/env.rb
troo-0.0.3 features/support/env.rb
troo-0.0.2 features/support/env.rb