FactoryBot.define do
  factory :adjustment, class: Spree::Adjustment do
    association(:adjustable, factory: :order)
    amount 100.0
    label 'Shipping'
    association(:source, factory: :shipment)
    eligible true
  end
end

Bring adjustment factory from spree_core
Bring adjustment factory from spree_core
