> It's only a restful_auth issue if it does this on a brand new app.
It does this to me on a brand new app.
> Please do send a patch if you uncover a bug.
--- functional_spec.rb.orig 2007-12-31 17:33:13.000000000 -0500
+++ functional_spec.rb 2007-12-31 18:13:20.000000000 -0500
@@ -9,20 +9,20 @@
it 'logins and redirects' do
post :create, :login => 'quentin', :password => 'test'
- session[:<%= file_name %>].should_not be_nil
+ session[:<%= file_name %>_id].should_not be_nil
response.should be_redirect
end
it 'fails login and does not redirect' do
post :create, :login => 'quentin', :password => 'bad password'
- session[:<%= file_name %>].should be_nil
+ session[:<%= file_name %>_id].should be_nil
response.should be_success
end
it 'logs out' do
login_as :quentin
get :destroy
- session[:<%= file_name %>].should be_nil
+ session[:<%= file_name %>_id].should be_nil
response.should be_redirect
end