The recognized options <{“action”=>“show”, “id”=>“1”,
“controller”=>“users”}> did not match <{“action”=>“destroy”, “id”=>“1”,
“controller”=>“users”}>, difference: <{“action”=>“destroy”}>
But assert_generates from rails works fine.
I myself never used route_for helper before. So I am not sure is this is
the
problem of the method, or restful_authentication author misused it, or
rails
2.3RC2 breaks it.
The recognized options <{“action”=>“show”, “id”=>“1”,
“controller”=>“users”}> did not match <{“action”=>“destroy”, “id”=>“1”,
“controller”=>“users”}>, difference: <{“action”=>“destroy”}>
But assert_generates from rails works fine.
I myself never used route_for helper before. So I am not sure is this is the
problem of the method, or restful_authentication author misused it, or rails
2.3RC2 breaks it.
Actually, it’s rspec’s edge that breaks it, documented here: