Sha256: 9f39ea6e3b63b62ea7fc1ed75856f81eec6d5e37e9d5e37a22d6d49a1a13f993
Contents?: true
Size: 668 Bytes
Versions: 5
Compression:
Stored size: 668 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 if defined?(RAILS_ROOT) RAILS_ROOT.replace(app_root) else RAILS_ROOT = app_root end begin require 'rubigen' rescue LoadError require 'rubygems' unless ENV['NO_RUBYGEMS'] require 'rubigen' end require 'rubigen/helpers/generator_test_helper'
Version data entries
5 entries across 5 versions & 1 rubygems