Sha256: 35f011b30ac2b4aa167d2b46b58d1ade5e927da14cbc4890c7a3be9c119f0252
Contents?: true
Size: 355 Bytes
Versions: 4
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe SolidusGraphqlApi::Queries::Order::AdjustmentsQuery do let(:promotion) { create :promotion_with_order_adjustment } let(:order) { create :completed_order_with_promotion, promotion: promotion } it { expect(described_class.new(order: order).call.sync).to eq order.adjustments } end
Version data entries
4 entries across 4 versions & 1 rubygems