Skip to content

Commit

Permalink
Correct mocking of no-op RackApplicationFactory
Browse files Browse the repository at this point in the history
Signed-off-by: Chad Wilson <[email protected]>
  • Loading branch information
chadlwilson committed Jun 28, 2024
1 parent 34f390c commit af3d4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spec/ruby/rack/application_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit af3d4de

Please sign in to comment.