Consider nil in price expire time as effective

#522
This commit is contained in:
Artur Beljajev 2017-06-03 23:12:16 +03:00
parent 8916eee169
commit f76e1259fc
11 changed files with 106 additions and 65 deletions

View file

@ -7,7 +7,7 @@ FactoryGirl.define do
operation_category Billing::Price.operation_categories.first
zone
factory :unexpired_price do
factory :effective_price do
expire_time { Time.zone.now + 1.day }
end