mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
parent
3741e2d2a3
commit
58ae53b1e6
17 changed files with 264 additions and 13 deletions
|
@ -6,5 +6,13 @@ FactoryGirl.define do
|
|||
duration '1 year'
|
||||
operation_category Billing::Price.operation_categories.first
|
||||
zone
|
||||
|
||||
factory :unexpired_price do
|
||||
expire_time { Time.zone.now + 1.day }
|
||||
end
|
||||
|
||||
factory :expired_price do
|
||||
expire_time { Time.zone.now - 1.day }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue