Sha256: 45df93086125697474df18079831b72cacc3d1cac4b7ec19fb27a0dba7d6f120

Contents?: true

Size: 497 Bytes

Versions: 7

Compression:

Stored size: 497 Bytes

Contents

require 'spec_helper'
require 'spree/testing_support/factories/address_factory'

RSpec.describe 'address factory' do
  let(:factory_class) { Spree::Address }

  describe 'plain address' do
    let(:factory) { :address }

    it_behaves_like 'a working factory'
  end

  describe 'ship_address' do
    let(:factory) { :ship_address }

    it_behaves_like 'a working factory'
  end

  describe 'bill address' do
    let(:factory) { :bill_address }

    it_behaves_like 'a working factory'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_core-1.2.3 spec/lib/spree/core/testing_support/factories/address_factory_spec.rb
solidus_core-1.2.2 spec/lib/spree/core/testing_support/factories/address_factory_spec.rb
solidus_core-1.2.1 spec/lib/spree/core/testing_support/factories/address_factory_spec.rb
solidus_core-1.2.0 spec/lib/spree/core/testing_support/factories/address_factory_spec.rb
solidus_core-1.2.0.rc2 spec/lib/spree/core/testing_support/factories/address_factory_spec.rb
solidus_core-1.2.0.rc1 spec/lib/spree/core/testing_support/factories/address_factory_spec.rb
solidus_core-1.2.0.beta1 spec/lib/spree/core/testing_support/factories/address_factory_spec.rb