Sha256: de161071178170b505cfa0426778e75e3870327634a4b2bf0693663f74652aae

Contents?: true

Size: 471 Bytes

Versions: 19

Compression:

Stored size: 471 Bytes

Contents

require 'fileutils'
require 'tmpdir'

TESTAPP_PATH = ENV['TESTAPP_PATH'] || File.join(Dir.tmpdir, 'hobo_fields_testapp')
system %(rake test:prepare_testapp TESTAPP_PATH=#{TESTAPP_PATH})
system %(echo "gem 'kramdown'" >> #{TESTAPP_PATH}/Gemfile)
system %(echo "gem 'RedCloth'" >> #{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

19 entries across 19 versions & 1 rubygems

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