Updated spec/factories/calculator_factory.rb to remove unnecessary space; reduces number of RuboCop offenses from 91 to 90

This commit is contained in:
Jason Hsu
2020-10-16 00:08:19 -05:00
parent 3679e0fac9
commit c39e238e83

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")
}