mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Merge pull request #6190 from jhsu802701/rubocop_calculator_factory
Updated spec/factories/calculator_factory.rb for RuboCop
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user