Sha256: 4509ace12cf25794f9fee0aef69b38ed2ef756115709e9dfe79b38953d96c997

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe SolidusEasypost do
  describe '.configuration' do
    it 'returns the configuration' do
      expect(described_class.configuration).to be_instance_of(SolidusEasypost::Configuration)
    end
  end

  describe '.configure' do
    it 'yields the configuration' do
      expect { |b| described_class.configure(&b) }.to yield_with_args(
        an_instance_of(SolidusEasypost::Configuration),
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_easypost-3.0.0 spec/solidus_easypost_spec.rb
solidus_easypost-2.0.0 spec/solidus_easypost_spec.rb