# frozen_string_literal: true

FactoryBot.define do
  factory :store_credit_reason, class: 'Spree::StoreCreditReason' do
    name "Input error"
  end
end

# frozen_string_literal: true

FactoryBot.define do
  factory :store_credit_reason, class: 'Spree::StoreCreditReason' do
    name { "Input error" }
  end
end

Remove static attribute in store credit reason factory
Remove static attribute in store credit reason factory

We already converted the rest of the factories attributes to dynamic
into #2831 but after merging that PR, we merged #2798 which was pretty
old and was still using the old "way".
