mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Remove try_spree_current_user
This can be done because the method is defined in OFN's ApplicationController, so spree_current_user is available in all controllers
This commit is contained in:
@@ -14,7 +14,7 @@ describe Api::BaseController do
|
||||
|
||||
context "signed in as a user using an authentication extension" do
|
||||
before do
|
||||
allow(controller).to receive_messages try_spree_current_user:
|
||||
allow(controller).to receive_messages spree_current_user:
|
||||
double(email: "ofn@example.com")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user