Sha256: 510c2fc271b779de638d4dceea77c596f32ba76a900dd39bc5764319629c1d9e

Contents?: true

Size: 337 Bytes

Versions: 48

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

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

48 entries across 48 versions & 2 rubygems

Version Path
solidus_core-2.10.5 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.10.3 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.10.2 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.9.6 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.8.6 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.10.1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.9.5 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.10.0 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.9.4 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.6.6 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.7.4 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.8.5 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.9.3 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.9.2 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.10.0.beta1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.7.3 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.6.5 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.9.1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.9.0 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb
solidus_core-2.9.0.rc.1 spec/lib/spree/core/testing_support/factories/inventory_unit_factory_spec.rb