Sha256: c76f7a16b3ea1a7f45c0cd713721849cac39bc108765799995e1b2ba0235abef

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

require "spec_helper"

module ShipCompliant
  describe SuggestedAddress do

    it { is_expected.to be_kind_of(Address) }

    context "details" do
      it "gets the details" do
        expect(subject.details).to eq({ address_details: true })
      end
    end

    context "parts" do
      it "gets the parts" do
        expect(subject.parts).to eq({ address_parts: true })
      end
    end

    subject do
      SuggestedAddress.new(
        details: { address_details: true },
        parts: { address_parts: true }
      )
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ship_compliant-0.2.1 spec/lib/ship_compliant/address/suggested_address_spec.rb