title: Testing that Rails verify_authenticity_token is being skipped
body: <p>I have an action in a Rails 3.2 application which skips verification of the authenticity token, as follows:</p>
  
  <pre><code>skip_before_filter :verify_authenticity_token, only: [:my_action_name]
  </code></pre>
  
  <p>However, from time to time, this gets removed accidentally by developers, and the app fails silently, losing the user's session on that particular (AJAX) action.</p>
  
  <p>From within my functional tests, what is the simplest way to test that this before filter is being skipped for that action? I.e. what is the simplest way to test that this line has not been removed?</p>