mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix the rackup test to correctly use Rack::Builder.parse_file
This commit is contained in:
@@ -8,7 +8,8 @@ module ApplicationTests
|
||||
|
||||
def rackup
|
||||
require "rack"
|
||||
Rack::Builder.parse_file("#{app_path}/config.ru")
|
||||
app, options = Rack::Builder.parse_file("#{app_path}/config.ru")
|
||||
app
|
||||
end
|
||||
|
||||
def setup
|
||||
|
||||
Reference in New Issue
Block a user