Sha256: b300d18c25857996b78c60812ae9e09a6dbd08464bec8c310688b7d8c9742efa

Contents?: true

Size: 650 Bytes

Versions: 100

Compression:

Stored size: 650 Bytes

Contents

require "rubygems"

# Add the local gems dir if found within the app root; any dependencies loaded
# hereafter will try to load from the local gems before loading system gems.
if (local_gem_dir = File.join(File.dirname(__FILE__), '..', 'gems')) && $BUNDLE.nil?
  $BUNDLE = true; Gem.clear_paths; Gem.path.unshift(local_gem_dir)
end

require "merb-core"

# TODO: Boot Merb, via the Test Rack adapter
Merb.start :environment => (ENV['MERB_ENV'] || 'test'),
           :merb_root  => File.join(File.dirname(__FILE__), ".." )


class Test::Unit::TestCase
  include Merb::Test::RequestHelper
  # Add more helper methods to be used by all tests here...
end

Version data entries

100 entries across 26 versions & 1 rubygems

Version Path
merb-gen-1.0.15 lib/generators/templates/application/merb_flat/test/test_helper.rb
merb-gen-1.0.15 lib/generators/templates/application/merb_stack/test/test_helper.rb
merb-gen-1.0.15 lib/generators/templates/application/merb_very_flat/test/test_helper.rb
merb-gen-1.0.15 lib/generators/templates/application/merb_core/test/test_helper.rb
merb-gen-1.0.14 lib/generators/templates/application/merb_very_flat/test/test_helper.rb
merb-gen-1.0.14 lib/generators/templates/application/merb_core/test/test_helper.rb
merb-gen-1.0.14 lib/generators/templates/application/merb_flat/test/test_helper.rb
merb-gen-1.0.14 lib/generators/templates/application/merb_stack/test/test_helper.rb
merb-gen-1.0.13 lib/generators/templates/application/merb_stack/test/test_helper.rb
merb-gen-1.0.13 lib/generators/templates/application/merb_core/test/test_helper.rb
merb-gen-1.0.13 lib/generators/templates/application/merb_flat/test/test_helper.rb
merb-gen-1.0.13 lib/generators/templates/application/merb_very_flat/test/test_helper.rb
merb-gen-1.0.12 lib/generators/templates/application/merb_core/test/test_helper.rb
merb-gen-1.0.12 lib/generators/templates/application/merb_flat/test/test_helper.rb
merb-gen-1.0.12 lib/generators/templates/application/merb_stack/test/test_helper.rb
merb-gen-1.0.12 lib/generators/templates/application/merb_very_flat/test/test_helper.rb
merb-gen-0.9.10 lib/generators/templates/application/merb_flat/test/test_helper.rb
merb-gen-0.9.10 lib/generators/templates/application/merb_very_flat/test/test_helper.rb
merb-gen-0.9.12 lib/generators/templates/application/merb_very_flat/test/test_helper.rb
merb-gen-0.9.11 lib/generators/templates/application/merb_core/test/test_helper.rb