1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
This commit is contained in:
Robot Made 2010-02-21 16:59:17 -08:00 committed by Aslak Hellesøy
parent 08e5ae0c77
commit e6ed2cd8b0

View file

@ -3,9 +3,10 @@ require 'capybara/dsl'
Capybara.app = Rack::Builder.new do
map "/" do
use Rails::Rack::Static
run ActionController::Dispatcher.new
ActionDispatch::Static
run Rails.application
end
end.to_app
Capybara.asset_root = Rails.root.join('public')