Sha256: 928617f2edbe2ea98cdfd44e9b62fcf953e16ee797ad4b0836a5882b8a500e19

Contents?: true

Size: 731 Bytes

Versions: 4

Compression:

Stored size: 731 Bytes

Contents

require File.dirname(__FILE__) + "/../../lib/newgem"

require 'cucumber'
require 'spec'

require 'pp'
require 'fileutils'
require 'rubygems' unless ENV['NO_RUBYGEMS']

Before do
  @tmp_root = File.dirname(__FILE__) + "/../../tmp"
  @home_path = File.expand_path(File.join(@tmp_root, "home"))
  FileUtils.rm_rf   @tmp_root
  FileUtils.mkdir_p @home_path
  ENV['HOME'] = @home_path
end

# code from test/test_generator_helper.rb
TMP_ROOT = File.dirname(__FILE__) + "/tmp" unless defined?(TMP_ROOT)

require 'rubigen'
require 'rubigen/helpers/generator_test_helper'
include RubiGen::GeneratorTestHelper

SOURCES = Dir[File.dirname(__FILE__) + "/../../*_generators"].map do |f|
  RubiGen::PathSource.new(:test, File.expand_path(f))
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
newgem-1.5.3 features/support/env.rb
newgem-1.5.0 features/support/env.rb
newgem-1.5.1 features/support/env.rb
newgem-1.5.2 features/support/env.rb