Sha256: abf1276b185925dd95de9b52ca5d4ddc7dbfe712ff16d49abe896622060b1505
Contents?: true
Size: 961 Bytes
Versions: 1
Compression:
Stored size: 961 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mkuklis-webrat-0.6.rc1 | spec/integration/merb/spec/spec_helper.rb |