Commit graph

25 commits

Author SHA1 Message Date
Artur Beljajev
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
199085f8ac Use resourceful routes
https://github.com/rails/rails/pull/23980
2019-10-16 10:36:09 +03:00
Artur Beljajev
8a167c4728 Reorganize tests 2019-10-11 12:13:18 +03:00
Artur Beljajev
7fcab05e51 Clean up settings after tests 2019-10-09 15:55:27 +03:00
Artur Beljajev
54577b530b Remove specs 2019-10-07 15:44:14 +03:00
Artur Beljajev
ba5a7b1745 Require application_system_test_case explicitly 2019-09-03 18:40:52 +03:00
Artur Beljajev
5a68035818 Remove unused db column 2019-08-11 22:50:34 +03:00
Artur Beljajev
8faa6d55ea Improve tests
- Remove unnecessary fixtures
- Remove unnecessary teardown steps
- Improve readability
2019-06-20 16:41:12 +03:00
Artur Beljajev
62c38d1f99 Add balance auto reload
Closes #329
2019-06-14 16:30:34 +03:00
Artur Beljajev
02c37a1c31 Let registrars change IBAN 2019-06-12 11:49:31 +03:00
Artur Beljajev
37249a24f7 Let registrar users change registrar account 2019-05-16 13:49:29 +03:00
Artur Beljajev
207c2a704c Rename profile page in registrar area to account 2019-05-15 13:44:36 +03:00
Artur Beljajev
27ea790b28 Refactor invoice PDF generation, download and delivery
- Remove `Que::Mailer` (#895)
- Extract controllers
- Extract translations
- Convert HAML to ERB
- Add mailer preview
- Improve UI
- Remove unused routes
- Add tests
2019-04-11 13:04:42 +03:00
Artur Beljajev
a97728c0f3 Refactor and improve invoices
- `runner 'Invoice.cancel_overdue_invoices'` in `schedule.rb` is
changed to `rake 'invoices:cancel_overdue'`.
- `invoices.payment_term` database column is removed and its value is
hardcoded in UI.
- `invoices.paid_at` is removed as unused
- `invoices.due_date` column's type is now `date`.
- `Invoice#invoice_items` renamed to `Invoice#items` and `Invoice`
interface to get a list of items is unified.
- Default date format in UI.
- Default translations are used.
- Tests improved.
- Specs converted to tests and removed along with factories.
- Database structure improved.
2019-03-14 15:39:24 +02:00
Artur Beljajev
211f8c9143 Fix home page link 2018-08-22 00:21:12 +03:00
Artur Beljajev
a2a67159d4 Add assertion 2018-08-21 23:51:03 +03:00
Artur Beljajev
5c00a7364d Improve readability 2018-08-21 23:50:29 +03:00
Artur Beljajev
773b2116ef Merge branch 'master' into refactor-devise-integration 2018-08-17 14:54:23 +03:00
Maciej Szlosarczyk
c028c0e477
Add more tests to deposit handling 2018-08-15 20:18:07 +03:00
Maciej Szlosarczyk
b4b404888b
Disallow deposits that are lower than 0.01 EUR 2018-08-15 12:25:19 +03:00
Artur Beljajev
db0ae116a0 Use setup callback 2018-08-09 14:29:03 +03:00
Artur Beljajev
1d95c1ccbc Use standard login form 2018-08-09 13:43:11 +03:00
Artur Beljajev
6de31605d9 Integrate master branch 2018-08-08 19:36:14 +03:00
Artur Beljajev
bf3b54367b Merge branch 'master' into refactor-devise-integration 2018-08-08 14:13:53 +03:00
Maciej Szlosarczyk
526a9ccd58
Change test structure to follow closer newer Rails 5 rules
* Create new class called ApplicationIntegrationTest, so we don't have
  to override ActionDispatch::IntegrationTest
* Move UI tests to inherit from ApplicationSystemTestCase
* Existing REST API or EPP tests inherit from
  ApplicationIntegrationTest.
* Move `require 'application_system_test_case'` at the end of
  `test_helper`

I don't particularly agree with the Rails' convention of treating UI
tests as system tests and API tests as integration tests, but I see no
benefit in actively fighting against it.
2018-07-27 09:36:27 +03:00