Julian Keenaghan

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Rails 7.1 Authentication From Scratch - Test Helpers

I've implemented the Rails authentication in my 7.1 app but was wondering how to go about stubbing the current_user or session in my RSpec Request specs.

I'm normally used to have a Devise or Clearance helper that does this.

Anyone know how to do this?