test/spec/requesttimeout_spec.rb in openpay-1.0.6 vs test/spec/requesttimeout_spec.rb in openpay-1.0.7
- old
+ new
@@ -11,10 +11,10 @@
@openpay=OpenpayApi.new(@merchant_id, @private_key, false, 0)
@charges=@openpay.create(:charges)
end
- it 'raise a OpenpayException when the operation timeouts' do
- expect{@charges.all}.to raise_error(OpenpayException)
+ it 'raise an OpenpayConnectionException when the operation timeouts' do
+ expect{@charges.all}.to raise_error(OpenpayConnectionException)
end
end