Sha256: 798de3f1d6d4d105a487cbfeabc6c0a111c41e8004ab36f459c07715282395fe

Contents?: true

Size: 285 Bytes

Versions: 39

Compression:

Stored size: 285 Bytes

Contents

require 'spec_helper'
require 'spree/testing_support/factories/line_item_factory'

RSpec.describe 'line item factory' do
  let(:factory_class) { Spree::LineItem }

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

    it_behaves_like 'a working factory'
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
solidus_core-2.3.1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.2.2 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.1.1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.0.3 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-1.4.2 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-1.3.2 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-1.2.3 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.3.0 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.3.0.rc3 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.3.0.rc2 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.3.0.rc1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.3.0.beta1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.0.2 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-1.4.1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.2.1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.2.0 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.2.0.rc1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.2.0.beta1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.1.0 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb
solidus_core-2.1.0.rc1 spec/lib/spree/core/testing_support/factories/line_item_factory_spec.rb