mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update namespacing in specs
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user