Sha256: c9f9f9c95a0c1241bb334f4d148f3433056290081c8f5195a93f1aa52358725f

Contents?: true

Size: 306 Bytes

Versions: 11

Compression:

Stored size: 306 Bytes

Contents

require 'rails_helper'
require 'spree/testing_support/factories/inventory_unit_factory'

RSpec.describe 'inventory unit factory' do
  let(:factory_class) { Spree::InventoryUnit }

  describe 'plain inventory unit' do
    let(:factory) { :inventory_unit }

    it_behaves_like 'a working factory'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_core-2.5.2 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.5.1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.5.0 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.5.0.rc1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.5.0.beta2 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.5.0.beta1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.4.2 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.4.1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.4.0 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.4.0.rc1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.4.0.beta1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb