mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
parent
5fdc1938af
commit
5a533e09bf
44 changed files with 1027 additions and 375 deletions
10
spec/factories/billing/price.rb
Normal file
10
spec/factories/billing/price.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
FactoryGirl.define do
|
||||
factory :price, class: Billing::Price do
|
||||
price Money.from_amount(1)
|
||||
valid_from Time.zone.parse('05.07.2010')
|
||||
valid_to Time.zone.parse('05.07.2010')
|
||||
duration '1 year'
|
||||
operation_category Billing::Price.operation_categories.first
|
||||
zone
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue