Maciej Szlosarczyk
10d42a0d74
Add domain index action (without pagination yet)
2018-07-30 15:09:48 +03:00
Maciej Szlosarczyk
13562aeb06
Move file to another folder
2018-07-30 13:56:54 +03:00
Maciej Szlosarczyk
c1ea79615f
Make API return errors array
2018-07-30 11:07:44 +03:00
Maciej Szlosarczyk
ed1afb78f6
Make tests conform with #924
2018-07-30 10:30:57 +03:00
Artur Beljajev
4b30234c86
Merge branch 'registry-791' into registry-790
2018-07-27 16:18:28 +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
Artur Beljajev
c1066f12c6
Fix registrar area authenticated root path
2018-07-19 21:50:03 +03:00
Artur Beljajev
106592e53e
Merge branch 'master' into registry-791
...
# Conflicts:
# db/structure.sql
2018-07-19 20:40:45 +03:00
Artur Beljajev
e4305e7865
Merge branch 'master' into registry-790
2018-07-19 17:28:56 +03:00
Artur Beljajev
bf33565d0e
Improve readability
2018-07-19 00:40:43 +03:00
Artur Beljajev
e369d90e20
Make UI consistent
2018-07-19 00:23:17 +03:00
Artur Beljajev
5561825584
Use standard Devise sessions controller in admin area
...
Fixes a bug when retrying to login with correct credentials
2018-07-18 20:02:05 +03:00
Artur Beljajev
a2451f4a13
Fix test name
2018-07-18 12:14:24 +03:00
Artur Beljajev
989bb32548
Improve readability
2018-07-16 01:31:36 +03:00
Artur Beljajev
6f0c886236
Add tests
2018-07-16 00:58:22 +03:00
Artur Beljajev
02aad0d781
Add tests
2018-07-15 19:01:43 +03:00
Artur Beljajev
e5cdb2e8db
Merge branch 'master' into refactor-devise-integration
...
# Conflicts:
# app/controllers/registrant/contacts_controller.rb
# config/routes.rb
2018-07-10 18:09:03 +03:00
Maciej Szlosarczyk
6fb1e44cca
Move affected domains to the top of the hash, update integration test
2018-07-05 17:53:03 +03:00
Maciej Szlosarczyk
3e81366cfc
Add affected domain parameter to REST API response
2018-07-05 17:24:32 +03:00
Artur Beljajev
67a868b673
Merge branch 'replace-warden-helpers-with-devise' into registry-791
2018-06-20 12:34:31 +03:00
Artur Beljajev
f8290f90c5
Merge branch 'master' into registry-791
2018-06-20 12:34:26 +03:00
Artur Beljajev
eddf39ea9b
Merge branch 'replace-warden-helpers-with-devise' into registry-790
...
# Conflicts:
# test/integration/admin/domains_test.rb
2018-06-20 12:32:08 +03:00
Artur Beljajev
9684c8e59f
Refactor Devise integration
...
- Use scoped users
- Use the named route helpers instead of hardcoded paths
2018-06-20 12:21:22 +03:00
Artur Beljajev
d064dbc11f
Replace Warden test helpers with Devise ones
2018-06-19 19:40:35 +03:00
Artur Beljajev
5b821f4074
Merge branch 'master' into registry-790
...
# Conflicts:
# app/models/domain_cron.rb
# lib/tasks/dev.rake
2018-06-18 16:27:56 +03:00
Maciej Szlosarczyk
7e88a96f27
Add missed travel_back
callback in teardown
2018-06-18 10:34:24 +03:00
Maciej Szlosarczyk
843dc8edcb
Add new links to registrant page layout
2018-06-18 10:30:23 +03:00
Artur Beljajev
cd6a40b1bb
Fix test
2018-06-15 17:10:06 +03:00
Maciej Szlosarczyk
f1294508d1
Improve setup of a locally failing test
2018-06-07 14:46:18 +03:00
Artur Beljajev
c37f162529
Merge branch 'master' into registry-790
2018-06-06 21:53:08 +03:00
Timo Võhmar
157b383738
Merge pull request #780 from internetee/registry-662
...
Enable domain contact replacement
2018-06-06 15:39:24 +03:00
Maciej Szlosarczyk
2965fddef4
Merge branch 'master' into credit-and-debit-card-payments
2018-06-04 11:06:29 +03:00
Artur Beljajev
65b40997ca
Merge branch 'master' into registry-790
2018-06-04 04:02:33 +03:00
Artur Beljajev
472038825a
Fix test
...
#662
2018-06-04 03:19:51 +03:00
Artur Beljajev
263cb2e123
Require new contact to be valid
...
#662
2018-06-04 03:06:29 +03:00
Artur Beljajev
8c915164c5
Change naming
...
#662
2018-06-04 02:14:15 +03:00
Artur Beljajev
f5965331c8
Merge branch 'master' into registry-662
2018-05-29 12:11:25 +03:00
Maciej Szlosarczyk
b32809cdac
Deprecate Registrant::WhoisController
2018-05-25 13:58:13 +03:00
Maciej Szlosarczyk
f1808cfcf1
Remove link to WHOIS controller from registrant portal
2018-05-25 13:55:21 +03:00
Maciej Szlosarczyk
d7afb3880a
Merge branch 'master' into credit-and-debit-card-payments
2018-04-30 11:38:19 +03:00
Maciej Szlosarczyk
cecb60623c
Remove unecessary teardown block
2018-04-27 10:41:43 +03:00
Maciej Szlosarczyk
a6a99df58e
Create AdminContactsTest
2018-04-27 10:37:08 +03:00
Maciej Szlosarczyk
a82db7a67a
Solve both sides of the missing fields bug, not only one
2018-04-26 08:46:21 +03:00
Maciej Szlosarczyk
cec05c3943
Test and fix contact_versions controller affected by the same bug
2018-04-24 13:19:34 +03:00
Maciej Szlosarczyk
b0bec41f56
Write a test that covers missing and non-existent values
2018-04-24 11:53:27 +03:00
Maciej Szlosarczyk
b578cdcfa8
Cleanup setup/teardown methods
2018-04-23 10:27:44 +03:00
Maciej Szlosarczyk
841a069ca4
Rework test to operate on mocks, since it does not need real objects
2018-04-23 10:16:09 +03:00
Maciej Szlosarczyk
5dea92c0d8
Add tests for Payments::BankLink
2018-04-22 19:41:59 +03:00
Artur Beljajev
3e94c10da1
Delete discarded domains at the random moment within next 24h
...
#790
2018-04-20 16:55:36 +03:00
Maciej Szlosarczyk
663214ee49
Remove variable fields from tests
2018-04-20 14:50:14 +03:00