search for: forgery_protection

Displaying 1 result from an estimated 1 matches for "forgery_protection".

2007 Oct 02
0
Rails 2.0 & rspec edge - not protected_against_forgery?
...elper.rb:8:in `login_logout'' ./spec/helpers/application_helper_spec.rb:28: I have looked into patching rspec to include the "protect_against_forgery?" helper, but it''s included dynamically via a "helper_method :protect_against_forgery?" call in request_forgery_protection.rb I have forged the forgery_protection by adding this to my spec_helper.rb def protect_against_forgery? end Probably not the most elegant solution, but for now it works cu jc -- Jens-Christian Fischer - InVisible GmbH Tel: +41 79 691 05 48 http://www.invisible.ch, http://blog.invisible.ch