Sha256: e82abd5622f9b3485e8afa070d94af9f3eb5f938826a152eae7eb396a8c170a5
Contents?: true
Size: 642 Bytes
Versions: 407
Compression:
Stored size: 642 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' require 'rubigen' end require 'rubigen/helpers/generator_test_helper'
Version data entries
407 entries across 393 versions & 62 rubygems