Sha256: e049f507a78affbb1387c667b6ac74b95ffbf68097194c09ebcf1566fc4f2125

Contents?: true

Size: 770 Bytes

Versions: 12

Compression:

Stored size: 770 Bytes

Contents

# encoding: utf-8

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 "spec"
require "merb-core"

Merb::Config.use do |c|
  c[:session_store] = "memory"
end

Merb.start_environment(:testing => true,
                       :adapter => 'runner',
                       :environment => ENV['MERB_ENV'] || 'test')

Spec::Runner.configure do |config|
  config.include(Merb::Test::ViewHelper)
  config.include(Merb::Test::RouteHelper)
  config.include(Merb::Test::ControllerHelper)
end

Version data entries

12 entries across 6 versions & 1 rubygems

Version Path
rango-0.2.3 benchmarks/stubs/merb-very-flat/spec/spec_helper.rb
rango-0.2.3 benchmarks/stubs/merb-flat/spec/spec_helper.rb
rango-0.2.1 benchmarks/stubs/merb-very-flat/spec/spec_helper.rb
rango-0.2.1 benchmarks/stubs/merb-flat/spec/spec_helper.rb
rango-0.2.1.pre benchmarks/stubs/merb-very-flat/spec/spec_helper.rb
rango-0.2.1.pre benchmarks/stubs/merb-flat/spec/spec_helper.rb
rango-0.0.6 benchmarks/stubs/merb-very-flat/spec/spec_helper.rb
rango-0.0.6 benchmarks/stubs/merb-flat/spec/spec_helper.rb
rango-0.1.pre benchmarks/stubs/merb-flat/spec/spec_helper.rb
rango-0.1.pre benchmarks/stubs/merb-very-flat/spec/spec_helper.rb
rango-0.0.4 benchmarks/stubs/merb-flat/spec/spec_helper.rb
rango-0.0.4 benchmarks/stubs/merb-very-flat/spec/spec_helper.rb