diff --git a/test/routing_test.rb b/test/routing_test.rb index 1bc74b60e..88c7532a0 100644 --- a/test/routing_test.rb +++ b/test/routing_test.rb @@ -313,7 +313,7 @@ class RoutingTest < Minitest::Test it "handles params without a value" do mock_app { get '/' do - assert_empty params.fetch('foo') + assert_nil params.fetch('foo') "Given: #{params.keys.sort.join(',')}" end }