Sha256: 59c58709e1a97a339d3f5e33f0f71e0744a3edf1f84917f91923ef917de2063b

Contents?: true

Size: 935 Bytes

Versions: 34

Compression:

Stored size: 935 Bytes

Contents

require "rubygems"

$LOAD_PATH.unshift File.dirname(__FILE__) + "/../../../../lib"

# 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

34 entries across 34 versions & 17 rubygems

Version Path
diabolo-webrat-0.5.1 spec/integration/merb/spec/spec_helper.rb
dstrelau-webrat-0.5.1 spec/integration/merb/spec/spec_helper.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/webrat-0.7.3/spec/integration/merb/spec/spec_helper.rb
indirect-webrat-0.7.5 spec/integration/merb/spec/spec_helper.rb
indirect-webrat-0.7.4 spec/integration/merb/spec/spec_helper.rb
webrat-0.7.3 spec/integration/merb/spec/spec_helper.rb
jbd-webrat-0.7.2.rails3 spec/integration/merb/spec/spec_helper.rb
webrat-0.7.2 spec/integration/merb/spec/spec_helper.rb
webrat-0.7.2.beta.2 spec/integration/merb/spec/spec_helper.rb
mutle-webrat-0.7.2.beta.1 spec/integration/merb/spec/spec_helper.rb
thoughtbot-webrat-0.7.2.pre spec/integration/merb/spec/spec_helper.rb
webrat-0.7.2.beta.1 spec/integration/merb/spec/spec_helper.rb
honkster-webrat-0.7.1.2 spec/integration/merb/spec/spec_helper.rb
honkster-webrat-0.7.1.1 spec/integration/merb/spec/spec_helper.rb
revo-webrat-0.7.0.1 spec/integration/merb/spec/spec_helper.rb
webrat-0.7.1 spec/integration/merb/spec/spec_helper.rb
davidtrogers-webrat-0.7.0 spec/integration/merb/spec/spec_helper.rb
revo-webrat-0.7.0 spec/integration/merb/spec/spec_helper.rb
revo-webrat-0.7.1.pre spec/integration/merb/spec/spec_helper.rb
webrat-0.7.0 spec/integration/merb/spec/spec_helper.rb