mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Refactor registrars
- Reorganize views - Improve database structure - Use default translations - Combine tests
This commit is contained in:
parent
59e9b16dfa
commit
efb63399b2
27 changed files with 287 additions and 353 deletions
|
@ -3,12 +3,12 @@ FactoryBot.define do
|
|||
sequence(:name) { |n| "test#{n}" }
|
||||
sequence(:code) { |n| "test#{n}" }
|
||||
sequence(:reg_no) { |n| "test#{n}" }
|
||||
street 'test'
|
||||
city 'test'
|
||||
state 'test'
|
||||
zip 'test'
|
||||
email 'test@test.com'
|
||||
country_code 'US'
|
||||
address_street 'test'
|
||||
address_zip 'test'
|
||||
address_city 'test'
|
||||
address_state 'test'
|
||||
address_country_code 'US'
|
||||
accounting_customer_code 'test'
|
||||
language 'en'
|
||||
sequence(:reference_no) { |n| "1234#{n}" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue