From af3d4decbe9cb4a24bc4a1b7fc8c09ab19b654d3 Mon Sep 17 00:00:00 2001 From: Chad Wilson Date: Fri, 28 Jun 2024 10:31:33 +0800 Subject: [PATCH] Correct mocking of no-op RackApplicationFactory Signed-off-by: Chad Wilson --- src/spec/ruby/rack/application_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spec/ruby/rack/application_spec.rb b/src/spec/ruby/rack/application_spec.rb index eeab96e1..bb51cf63 100644 --- a/src/spec/ruby/rack/application_spec.rb +++ b/src/spec/ruby/rack/application_spec.rb @@ -562,7 +562,7 @@ def reset_config it "should init and create application object" do # NOTE: a workaround to be able to mock it : klass = Class.new(RailsRackApplicationFactory) do - def createRackServletWrapper(runtime, rackup); end + def createRackServletWrapper(runtime, rackup, filename); end end @app_factory = klass.new