Sha256: f5322420ba8baeeaf5743247c7f23343294ee9de21c2eedd1e853f02bdc97ba3

Contents?: true

Size: 871 Bytes

Versions: 26

Compression:

Stored size: 871 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"
require "spec" # Satisfies Autotest and anyone else not using the Rake tasks

# this loads all plugins required in your init file so don't add them
# here again, Merb will do it for you
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

Webrat.configure do |config|
  config.mode = :merb
end

Version data entries

26 entries across 26 versions & 10 rubygems

Version Path
davidtrogers-webrat-0.4.4.2 spec/integration/merb/spec/spec_helper.rb
diabolo-webrat-0.4.4.1 spec/integration/merb/spec/spec_helper.rb
diabolo-webrat-0.4.4.2 spec/integration/merb/spec/spec_helper.rb
diabolo-webrat-0.4.4 spec/integration/merb/spec/spec_helper.rb
emipair-webrat-0.0.1 spec/integration/merb/spec/spec_helper.rb
hardbap-webrat-0.5.1 spec/integration/merb/spec/spec_helper.rb
hardbap-webrat-0.5.2 spec/integration/merb/spec/spec_helper.rb
raldred-webrat-0.4.4.2 spec/integration/merb/spec/spec_helper.rb
sr-webrat-0.4.4.1 spec/integration/merb/spec/spec_helper.rb
winton-sum-0.1.0 vendor/webrat/spec/integration/merb/spec/spec_helper.rb
winton-sum-0.1.1 vendor/webrat/spec/integration/merb/spec/spec_helper.rb
sum-0.1.1 vendor/webrat/spec/integration/merb/spec/spec_helper.rb
webrat-0.4.5 spec/integration/merb/spec/spec_helper.rb
webrat-0.5.0 spec/integration/merb/spec/spec_helper.rb
metry-2.0.4 vendor/webrat/spec/integration/merb/spec/spec_helper.rb
metry-2.0.5 vendor/webrat/spec/integration/merb/spec/spec_helper.rb
metry-2.1.0 vendor/webrat/spec/integration/merb/spec/spec_helper.rb
metry-2.1.1 vendor/webrat/spec/integration/merb/spec/spec_helper.rb
metry-2.0.0 vendor/webrat/spec/integration/merb/spec/spec_helper.rb
metry-2.0.1 vendor/webrat/spec/integration/merb/spec/spec_helper.rb