spec/controllers/controller_extensions_spec.rb in mbleigh-twitter-auth-0.1.21 vs spec/controllers/controller_extensions_spec.rb in mbleigh-twitter-auth-0.1.22
- old
+ new
@@ -149,10 +149,10 @@
end
it 'should unset current_user' do
controller.send(:current_user).should == @user
get :logout_keeping_session_action
- controller.send(:current_user).should be_nil
+ controller.send(:current_user).should be_false
end
it 'should unset the cookie' do
controller.send(:cookies).should_receive(:delete).with(:remember_token)
get :logout_keeping_session_action