Open jwoertink opened 2 months ago
I ran into a Lucky::MissingParamError
with this a while back. My workaround looked like this:
params = URI::Params.encode({"code[]": ["a", "b"]})
response = client.get("#{Reports::Query.url_without_query_params}?#{params}")
response.status_code.should eq(200)
If you have an action that specifies an array param, you're not able to build a route from that action.
The route that's built looks more like
Which basically looks like