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:
Luis Ramos
2020-06-27 16:08:52 +01:00
parent 144811268e
commit 1666ffb191
11 changed files with 22 additions and 26 deletions

View File

@@ -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