Update namespacing in specs

This commit is contained in:
Matt-Yorkley
2021-12-04 12:23:42 +00:00
parent f101b06226
commit 9fa19cb772
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
require 'spec_helper'
module Spree
module PaymentGateways
describe PaypalController, type: :controller do
context '#cancel' do
it 'redirects back to checkout' do

View File

@@ -10,7 +10,7 @@ module PaypalHelper
set_express_checkout: paypal_response,
express_checkout_url: options[:redirect]
)
allow_any_instance_of(Spree::PaypalController).to receive(:provider).
allow_any_instance_of(PaymentGateways::PaypalController).to receive(:provider).
and_return(paypal_provider)
end