spec/lib/opay/providers/payu_spec.rb in opay-1.1.3 vs spec/lib/opay/providers/payu_spec.rb in opay-1.1.4

- old
+ new

@@ -5,10 +5,11 @@ context 'md5 signs' do before do @key1 = Opay.config.key1 @key2 = Opay.config.key2 + Opay.config.process_payments_localy = false end it 'creates md5 sig' do pos_id = '123456' session_id = '0cde9e950d99630410661b2dedbbd822' @@ -64,9 +65,10 @@ context 'online' do subject { Providers::Payu } before do + Opay.config.process_payments_localy = false @order = Order.create! name: 'first order', amount: 1000 # 10 zł @order.prepare_payment # @order.create_payment!(session_id: @order.payment_session_id, provider: 'payu', amount: @order.amount) end