Sha256: d819b95c1a57a9b5ff09ec39c9c8f2f28e9745cda3b31fbc1fc7f6dde95040ab

Contents?: true

Size: 334 Bytes

Versions: 7

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe SolidusSubscriptions::Spree::LineItem::SubscriptionLineItemsAssociation, type: :model do
  subject { Spree::LineItem.new }

  it { is_expected.to have_many :subscription_line_items }
  it { is_expected.to accept_nested_attributes_for :subscription_line_items }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 spec/decorators/models/solidus_subscriptions/spree/line_item/subscription_line_items_association_spec.rb
solidus_subscriptions-2.0.1 spec/decorators/models/solidus_subscriptions/spree/line_item/subscription_line_items_association_spec.rb
solidus_subscriptions-2.0.0 spec/decorators/models/solidus_subscriptions/spree/line_item/subscription_line_items_association_spec.rb
solidus_subscriptions-1.1.0 spec/decorators/models/solidus_subscriptions/spree/line_item/subscription_line_items_association_spec.rb
solidus_subscriptions-1.0.1 spec/decorators/models/solidus_subscriptions/spree/line_item/subscription_line_items_association_spec.rb
solidus_subscriptions-1.0.0 spec/decorators/models/solidus_subscriptions/spree/line_item/subscription_line_items_association_spec.rb
solidus_subscriptions-1.0.0.rc1 spec/decorators/models/solidus_subscriptions/spree/line_item/subscription_line_items_association_spec.rb