Sha256: fe255faf73c84024008621e76ba3e3c06ae3ac9d4154d44b09138dd7a731dec4
Contents?: true
Size: 409 Bytes
Versions: 4
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true shared_context "product is ordered as individual and within a bundle" do let(:order) { create(:order_with_line_items) } let(:parts) { (1..3).map { create(:variant) } } let(:bundle_variant) { order.variants.first } let(:bundle) { bundle_variant.product } let(:common_product) { order.variants.last } before do bundle.parts << [parts, common_product] end end
Version data entries
4 entries across 4 versions & 1 rubygems