Skip to content

Commit

Permalink
Revert "Update routing test handles params without a value"
Browse files Browse the repository at this point in the history
Rack v3.0.7 rolled back this change with
rack/rack#2059

Other references:

- rails/rails#47652
- rack/rack#2052
- rack/rack#2038
  • Loading branch information
dentarg committed Dec 23, 2023
1 parent 1195d65 commit 67e7d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/routing_test.rb
Expand Up @@ -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
}
Expand Down

0 comments on commit 67e7d71

Please sign in to comment.