Rachel Bingham
03/25/2022, 4:08 PMRealApp
Apparently we don't normally run a real server for our rspec tests (except for system/capybara ones).
When I try to authenticate a user i get this
# RuntimeError: Invalid strategy current_user
# from /Users/rachelbingham/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/warden-1.2.9/lib/warden/proxy.rb:385:in `_fetch_strategy'
Just wondering if you have any insight on how I might configure this so I can authenticate requests realistically?Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Rachel Bingham
03/28/2022, 7:43 AM