title: How can I test a request with a literal given querystring?
body: <p>For testing a given API I have to test a request with an exact querystring, because the whole querystring is hashed together with a shared secret for security, like</p>
  
  <pre><code>inject?a=1&amp;b[a]=2&amp;b[b]=3&amp;d=4&amp;sign=76c8abec496a5e6c8a51c57e231e3a62612aeff0
  </code></pre>
  
  <p>I can only see a way to give parameters as a hash, which does not ensure the order (at least not if it's a nested hash):</p>
  
  <pre><code>test "right signature injects" do
    get :inject, a:1 , b: {a:2, b:3}, d: 4, sign: '76c8abec496a5e6c8a51c57e231e3a62612aeff0'
    assert_response :success
  end
  </code></pre>
  
  <p>How can I test a get request with an exact query string?</p>