Sha256: 028bad76f78c286a95f98eb27125dbc3ea3872d76700a308741713d93b62571e

Contents?: true

Size: 472 Bytes

Versions: 7

Compression:

Stored size: 472 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 'bluecloth'" >> #{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

7 entries across 7 versions & 1 rubygems

Version Path
hobo_fields-2.0.0.pre7 test/prepare_testapp.rb
hobo_fields-2.0.0.pre6 test/prepare_testapp.rb
hobo_fields-2.0.0.pre5 test/prepare_testapp.rb
hobo_fields-2.0.0.pre4 test/prepare_testapp.rb
hobo_fields-2.0.0.pre3 test/prepare_testapp.rb
hobo_fields-2.0.0.pre2 test/prepare_testapp.rb
hobo_fields-2.0.0.pre1 test/prepare_testapp.rb