[rspec-devel] Rails 2.0 Preview Release and RSpec Trunk

Brandon Keepers bkeepers at gmail.com
Wed Oct 3 09:00:23 EDT 2007

On Oct 2, 2007, at 4:03 PM, David Chelimsky wrote:

> On 10/2/07, Chad Humphries <chad at spicycode.com> wrote:
>> So far it works great for me :)  We have a project going on  
>> edgerails/
>> edge rspec (internal project) and aside from adding in the
>> protect_from_forgery? we have been great.
> Chad - do you have a solution for that? If so, would you consider
> contributing a patch to
> http://rubyforge.org/tracker/index.php? 
> func=detail&aid=14388&group_id=797&atid=3149?

Throw this in environments/test.rb:

# Disable request forgery protection in test environment
config.action_controller.allow_forgery_protection    = false

More information about the rspec-devel mailing list