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

Version Path
hobo-2.2.6 test/doctest/prepare_testapp.rb
hobo-2.2.5 test/doctest/prepare_testapp.rb
hobo-2.2.4 test/doctest/prepare_testapp.rb
hobo-2.2.3 test/doctest/prepare_testapp.rb
hobo-2.2.2 test/doctest/prepare_testapp.rb
hobo-2.2.1 test/doctest/prepare_testapp.rb
hobo-2.2.0 test/doctest/prepare_testapp.rb
hobo-2.1.2 test/doctest/prepare_testapp.rb
hobo-2.1.1 test/doctest/prepare_testapp.rb
hobo-2.1.0 test/doctest/prepare_testapp.rb
hobo-2.1.0.pre4 test/doctest/prepare_testapp.rb
hobo-2.1.0.pre3 test/doctest/prepare_testapp.rb
hobo-2.1.0.pre2 test/doctest/prepare_testapp.rb
hobo-2.1.0.pre1 test/doctest/prepare_testapp.rb
hobo-2.0.1 test/doctest/prepare_testapp.rb
hobo-2.0.0 test/doctest/prepare_testapp.rb
hobo-2.0.0.pre10 test/doctest/prepare_testapp.rb
hobo-2.0.0.pre9 test/doctest/prepare_testapp.rb
hobo-2.0.0.pre8 test/doctest/prepare_testapp.rb
hobo-2.0.0.pre7 test/doctest/prepare_testapp.rb