Sha256: 187969289e777bf10e923d5e6731c2605ff465c1caecfca9e3b32df14142fa0f

Contents?: true

Size: 751 Bytes

Versions: 69

Compression:

Stored size: 751 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 "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

69 entries across 43 versions & 6 rubygems

Version Path
ulbrich-jruby-enginize-0.5.5 templates/merb/spec/spec_helper.rb
ulbrich-jruby-enginize-0.5 templates/merb/spec/spec_helper.rb
ulbrich-jruby-enginize-0.6.5 templates/merb/spec/spec_helper.rb
ulbrich-jruby-enginize-0.6 templates/merb/spec/spec_helper.rb
ulbrich-jruby-enginize-0.7.0 templates/merb/spec/spec_helper.rb
ulbrich-jruby-enginize-0.7.1 templates/merb/spec/spec_helper.rb
ulbrich-jruby-enginize-0.7.2 templates/merb/spec/spec_helper.rb
vibes-rubycas-client-2.3.0.alpha4 examples/merb/spec/spec_helper.rb
vibes-rubycas-client-2.3.0.alpha3 examples/merb/spec/spec_helper.rb
vibes-rubycas-client-2.3.0.alpha2 examples/merb/spec/spec_helper.rb
vibes-rubycas-client-2.3.0.alpha examples/merb/spec/spec_helper.rb
echocas-client-2.1.3 examples/merb/spec/spec_helper.rb
echocas-client-2.1.2 examples/merb/spec/spec_helper.rb
rubycas-client-2.2.1 examples/merb/spec/spec_helper.rb
rubycas-client-2.2.0 examples/merb/spec/spec_helper.rb
merb-gen-1.0.15 lib/generators/templates/application/merb_very_flat/spec/spec_helper.rb
merb-gen-1.0.15 lib/generators/templates/application/merb_flat/spec/spec_helper.rb
jruby-enginize-0.8 templates/merb/spec/spec_helper.rb
merb-gen-1.0.14 lib/generators/templates/application/merb_very_flat/spec/spec_helper.rb
merb-gen-1.0.14 lib/generators/templates/application/merb_flat/spec/spec_helper.rb