Merge pull request #6190 from jhsu802701/rubocop_calculator_factory

Updated spec/factories/calculator_factory.rb for RuboCop
This commit is contained in:
Luis Ramos
2020-10-16 08:36:53 +01:00
committed by GitHub

View File

@@ -13,7 +13,7 @@ FactoryBot.define do
end
factory :weight_calculator, class: Calculator::Weight do
after(:build) { |c|
after(:build) { |c|
c.set_preference(:per_unit, 0.5)
c.set_preference(:unit_from_list, "kg")
}