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.logger.info("Loaded TEST Environment...")
|
||||||
Merb::Config.use { |c|
|
Merb::Config.use { |c|
|
||||||
c[:testing] = true
|
c[:testing] = true
|
||||||
|
@ -18,3 +18,7 @@ Spec::Runner.configure do |config|
|
|||||||
config.include(Merb::Test::RouteHelper)
|
config.include(Merb::Test::RouteHelper)
|
||||||
config.include(Merb::Test::ControllerHelper)
|
config.include(Merb::Test::ControllerHelper)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Webrat.configure do |config|
|
||||||
|
config.mode = :merb
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user