Sha256: 3c3578f12aea4320e90b3febba1353cda7e13fd031d4d9dca3fa702c88cbd44b

Contents?: true

Size: 422 Bytes

Versions: 5

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe SolidusBolt::MerchantConfiguration::GetCallbackUrlsService, :vcr, :bolt_configuration do
  subject(:api) { described_class.new }

  describe '#call', vcr: true do
    it 'receives the correct response' do
      expect(api.call).to match hash_including(
        'callback_urls' => array_including(hash_including('type', 'url'))
      )
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_bolt-0.7.2 spec/services/solidus_bolt/merchant_configuration/get_callback_urls_service_spec.rb
solidus_bolt-0.7.1 spec/services/solidus_bolt/merchant_configuration/get_callback_urls_service_spec.rb
solidus_bolt-0.7.0 spec/services/solidus_bolt/merchant_configuration/get_callback_urls_service_spec.rb
solidus_bolt-0.6.0 spec/services/solidus_bolt/merchant_configuration/get_callback_urls_service_spec.rb
solidus_bolt-0.5.0 spec/services/solidus_bolt/merchant_configuration/get_callback_urls_service_spec.rb