title: rspec testing a controller post changing my params from symbols to strings and breaking my tests
body: <p>In my controller spec I am doing this:</p>
  
  <pre><code>it "should create new message" do
    Client.should_receive(:create).with({:title =&gt; 'Mr'})
    post 'create' , :client =&gt; {:title =&gt; "Mr" }
  end
  </code></pre>
  
  <p>... and in my controller I am doing ...</p>
  
  <pre><code>def create
    client = Client.create(params[:client])
  end
  </code></pre>
  
  <p>However this is failing with the following error message : </p>
  
  <pre><code>  expected: ({:title=&gt;"Mr"})
         got: ({"title"=&gt;"Mr"})
  </code></pre>
  
  <p>I'm wondering why this is happening and how to get it to work</p>