Sha256: cb3ddb43b63d12b1187502da8cd17546d0fc0ec9ebcd8b33ae71c6d18253bb7b
Contents?: true
Size: 483 Bytes
Versions: 26
Compression:
Stored size: 483 Bytes
Contents
require 'fileutils' require 'tmpdir' TESTAPP_PATH = ENV['TESTAPP_PATH'] || File.join(Dir.tmpdir, 'hobo_testapp') system %(rake test:prepare_testapp TESTAPP_PATH=#{TESTAPP_PATH}) system %(echo "gem 'mocha', :require => false" >> #{TESTAPP_PATH}/Gemfile) system %(echo "gem 'test-unit'" >> #{TESTAPP_PATH}/Gemfile) FileUtils.chdir TESTAPP_PATH require "#{TESTAPP_PATH}/config/environment" require 'rails/generators' Rails::Generators.configure!(Rails.application.config.generators)
Version data entries
26 entries across 26 versions & 1 rubygems