search for: usuario_controller_spec

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

2008 Mar 15
3
[HELP]No :secret given to the #protect_from_forgery call
...s: 1) ActionController::InvalidAuthenticityToken in ''UsuarioController deberia crear una nueva persona en post create'' No :secret given to the #protect_from_forgery call. Set that or use a session store capable of generating its own keys (Cookie Session Store). ./spec/controllers/usuario_controller_spec.rb:30: script/spec:4: This is the only failure. Line 30 is the post "create". I am on Ruby 1.8.6, Rails 2.0.2, Rspec 1.1.3 (saw in vendor/plugins/rspec/CHANGES). I searched google for solutions, found this: http://blog.stonean.com/2007/12/rspec-and-protectfromforgery.html then I add...