uncaught throw :warden in Devise Testing

后端 未结 2 1413
南笙
南笙 2020-12-30 23:54

I have just begun with testing Devise. I am unable to understand of why i am getting this error ::

Failure/Error: subject.current_user.should_not be_nil
 Ar         


        
2条回答
  •  不思量自难忘°
    2020-12-31 00:27

    uncaught throw :warden happens when authenticate_user! fails.

    Figure out why your the user's authentication is a failing, and you'll have solved your problem.

提交回复
热议问题