Manuel Bustillo d2b5f92636
All checks were successful
Add copyright notice / copyright_notice (pull_request) Successful in 1m18s
Run unit tests / unit_tests (pull_request) Successful in 1m44s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 44m9s
Add copyright notice
2024-10-31 23:37:06 +00:00

18 lines
326 B
Ruby

# Copyright (C) 2024 Manuel Bustillo
FactoryBot.define do
factory :expense do
sequence(:name) { |i| "Expense #{i}" }
pricing_type { "fixed" }
amount { 100 }
end
trait :fixed do
pricing_type { "fixed" }
end
trait :per_person do
pricing_type { "per_person" }
end
end