title: How to test application controller before filter methods in Rails 3?
body: <p>I have a <code>before_filter</code> on my <code>ApplicationController</code> class and I want to write a test for it? Where should I write this test into? I do not want to go into every subclass controller test file and repeat the test about this filter.</p>
  
  <p>Hence, what is the recommended way to test <code>ApplicationController</code> before_filters?</p>
  
  <p>Note that I am using <code>Rails 3.2.1</code> with <code>minitest</code>.</p>