From e22f1fe288368e63359ef83d30d57380b865e637 Mon Sep 17 00:00:00 2001 From: Alberto Vena Date: Tue, 22 Jan 2019 14:49:10 +0100 Subject: [PATCH] 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". --- .../testing_support/factories/store_credit_reason_factory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/spree/testing_support/factories/store_credit_reason_factory.rb b/core/lib/spree/testing_support/factories/store_credit_reason_factory.rb index a16a4c045d3..31fc0686394 100644 --- a/core/lib/spree/testing_support/factories/store_credit_reason_factory.rb +++ b/core/lib/spree/testing_support/factories/store_credit_reason_factory.rb @@ -2,6 +2,6 @@ FactoryBot.define do factory :store_credit_reason, class: 'Spree::StoreCreditReason' do - name "Input error" + name { "Input error" } end end