[rspec-users] How to spec two lines in application_controller.rb

Hunt Jon jona.hunt777 at gmail.com
Tue May 26 10:32:20 EDT 2009

I need to spec the following lines:

  helper :all # include all helpers, all the time
  protect_from_forgery # See
ActionController::RequestForgeryProtection for detail

Can anybody give me a hint?

I create "application_controller_spec.rb" and now what?


More information about the rspec-users mailing list