Sha256: 384fc864986b220782893677d60c57291b78588284a377a5a1e3c717cf65a9c8

Contents?: true

Size: 425 Bytes

Versions: 8

Compression:

Stored size: 425 Bytes

Contents

require 'spec_helper'

describe PensioAPI::Responses::ReservationRelease do
  before :each do
    stub_pensio_response('/merchant/API/payments', 'payments')
    stub_pensio_response('/merchant/API/releaseReservation', 'release_reservation')
  end

  let(:response) { PensioAPI::Transaction.find.first.to_reservation.release }

  specify { expect(response).to be_an_instance_of(PensioAPI::Responses::ReservationRelease) }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pensio_api-0.3.5 spec/lib/pensio_api/responses/reservation_release_spec.rb
pensio_api-0.3.4 spec/lib/pensio_api/responses/reservation_release_spec.rb
pensio_api-0.3.3 spec/lib/pensio_api/responses/reservation_release_spec.rb
pensio_api-0.3.2 spec/lib/pensio_api/responses/reservation_release_spec.rb
pensio_api-0.3.1 spec/lib/pensio_api/responses/reservation_release_spec.rb
pensio_api-0.3.0 spec/lib/pensio_api/responses/reservation_release_spec.rb
pensio_api-0.2.3 spec/lib/pensio_api/responses/reservation_release_spec.rb
pensio_api-0.2.2 spec/lib/pensio_api/responses/reservation_release_spec.rb