Sha256: d526f8a7e82a5c21ed0bbeebac7206680e1ed452927b766d67733a182e8a6225

Contents?: true

Size: 581 Bytes

Versions: 8

Compression:

Stored size: 581 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper'
require 'fileutils'

# Must set before requiring generator libs.
TMP_ROOT = File.expand_path(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

FileUtils.mkdir_p(APP_ROOT)

require 'rubigen/helpers/generator_test_helper'

FileUtils.rm_rf(File.dirname(__FILE__) + "/tmp") # seem to be issues on runcoderun with a test/tmp/... folder still

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rubigen-1.5.8 test/test_generator_helper.rb
rubigen-1.5.7 test/test_generator_helper.rb
rubigen-1.5.6 test/test_generator_helper.rb
rubigen-1.5.5 test/test_generator_helper.rb
rubigen-1.5.4 test/test_generator_helper.rb
rubigen-1.5.3 test/test_generator_helper.rb
rubigen-1.5.1 test/test_generator_helper.rb
rubigen-1.5.2 test/test_generator_helper.rb