title: Passing empty value hash key in params within Rspec let
body: <p>I am passing a hash key value pair in <code>let</code>:</p>
  
  <pre><code>let(:request_params) {
    { a: { b: %w[firstname lastname] }, c: { } }
  }
  </code></pre>
  
  <p>When I check the relevant controller, it receives:</p>
  
  <pre><code>params
  # =&gt; &lt;ActionController::Parameters {
  #   "a"=&gt;&lt;ActionController::Parameters {"b"=&gt;["firstname", "lastname"]} permitted: false&gt;,
  #   "format"=&gt;:json,
  #   "controller"=&gt;"abc",
  #   "action"=&gt;"create"
  # } permitted: false&gt;
  </code></pre>
  
  <p>I want to know where <code>c</code> key goes, and how I can access it.</p>