Skip to content

Commit af3d4de

Browse files
committed
Correct mocking of no-op RackApplicationFactory
Signed-off-by: Chad Wilson <chadw@thoughtworks.com>
1 parent 34f390c commit af3d4de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spec/ruby/rack/application_spec.rb

Lines changed: 1 addition & 1 deletion
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)