Skip to content

Commit af3d4de

Browse files
committed
Correct mocking of no-op RackApplicationFactory
Signed-off-by: Chad Wilson <[email protected]>
1 parent 34f390c commit af3d4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec/ruby/rack/application_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def reset_config
562562
it "should init and create application object" do
563563
# NOTE: a workaround to be able to mock it :
564564
klass = Class.new(RailsRackApplicationFactory) do
565-
def createRackServletWrapper(runtime, rackup); end
565+
def createRackServletWrapper(runtime, rackup, filename); end
566566
end
567567
@app_factory = klass.new
568568

0 commit comments

Comments
 (0)