mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Updated spec/factories/calculator_factory.rb to remove unnecessary space; reduces number of RuboCop offenses from 91 to 90
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