Sha256: 681090c20814fa2afce8e2f008644fc8d84f1a337c04b41fcad8f8b530d8c516

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 Bytes

Contents

begin
  require File.dirname(__FILE__) + '/test_helper'
rescue LoadError
  require 'test/unit'
end
require 'fileutils'

# Must set before requiring generator libs.
TMP_ROOT = File.dirname(__FILE__) + "/tmp" unless defined?(TMP_ROOT)
PROJECT_NAME = "myproject" unless defined?(PROJECT_NAME)
app_root = File.join(TMP_ROOT, PROJECT_NAME)
if defined?(APP_ROOT)
  APP_ROOT.replace(app_root)
else
  APP_ROOT = app_root
end

begin
  require 'rubigen'
rescue LoadError
  require 'rubygems'
  require 'rubigen'
end
require 'rubigen/helpers/generator_test_helper'

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
rubigen-1.3.0 rubygems_generators/component_generator/templates/test_generator_helper.rb
rubigen-1.3.0 rubygems_generators/application_generator/templates/test_generator_helper.rb