Make merb integration test load 'local' webrat, instead of the gem.
This commit is contained in:
parent
7258ea3349
commit
7044eb5863
|
@ -1,3 +1,5 @@
|
|||
require File.dirname(__FILE__) + "/../../../../../lib/webrat"
|
||||
|
||||
Merb.logger.info("Loaded TEST Environment...")
|
||||
Merb::Config.use { |c|
|
||||
c[:testing] = true
|
||||
|
|
|
@ -17,4 +17,8 @@ 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
|
Loading…
Reference in New Issue