Make merb integration test load 'local' webrat, instead of the gem.

This commit is contained in:
Josh Knowles 2008-12-29 21:57:06 -05:00
parent 7258ea3349
commit 7044eb5863
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
require File.dirname(__FILE__) + "/../../../../../lib/webrat"
Merb.logger.info("Loaded TEST Environment...")
Merb::Config.use { |c|
c[:testing] = true

View File

@ -18,3 +18,7 @@ Spec::Runner.configure do |config|
config.include(Merb::Test::RouteHelper)
config.include(Merb::Test::ControllerHelper)
end
Webrat.configure do |config|
config.mode = :merb
end