title: How to format multiline RSpec expect {}.to change
body: <p>Is there a better way to format this test to make it more readable?</p>
  
  <pre><code>expect { 
    within '.foo' do
      click_link 'Delete'
    end
  }.to change {Foo.count}.by 1
  </code></pre>
  
  <p>expect <code>do...end</code> works, but is even uglier...</p>