title: Rspec error when using expect
body: <p>I'm getting the error:</p>
  
  <blockquote>
    <p>The expect syntax does not support operator matchers, so you must pass a matcher to <code>#to</code>.</p>
  </blockquote>
  
  <p>from my rspec which is this:</p>
  
  <pre><code>expect { click_button submit }.to.change(User, :count).by(1)
  </code></pre>
  
  <p>How can I rephrase the rspec so it passes?</p>