Sha256: 3aa162ac955217ae106a5c1e57a75d81bfb118154514c9ee364b6b02a2a91c47

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

Stored size: 498 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

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

  let(:params) {
    {
      oauth_redirect: 'http://localhost:3000/users/auth/bolt',
      oauth_logout: 'http://localhost:3000//user/spree_user/logout'
    }
  }

  describe '#call', vcr: true do
    it 'receives the correct response' do
      expect(api.call).to be_nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_bolt-0.6.0 spec/services/solidus_bolt/merchant_configuration/set_callback_urls_service_spec.rb
solidus_bolt-0.5.0 spec/services/solidus_bolt/merchant_configuration/set_callback_urls_service_spec.rb