How can i write rspec (in ruby) for login user. I have only google login in my application.
When i exec rspec for any url, it says 'Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)' in rspec log . I believe believe this errors are coming because i am not logged in. can anybody help me out with complete example.
Aucun commentaire:
Enregistrer un commentaire