Commit graph

206 commits

Author SHA1 Message Date
Artur Beljajev
3d51a93f95 Merge branch 'master' into registry-790 2018-08-27 15:24:05 +03:00
Artur Beljajev
99516d87d6 Use TaskTestCase as a parent 2018-08-21 00:53:47 +03:00
Artur Beljajev
c48cdf68b6 Merge branch 'master' into registry-790 2018-08-20 21:20:52 +03:00
Artur Beljajev
60f451afcd Merge branch 'master' into refactor-devise-integration 2018-08-11 14:58:54 +03:00
Maciej Szlosarczyk
256d2b7de4
Add test for error in business registry 2018-08-09 15:24:21 +03:00
Maciej Szlosarczyk
4cc0669286
Add business registry support for contacts controller 2018-08-09 15:04:22 +03:00
Artur Beljajev
1d79f6548d Merge branch 'master' into registry-790
# Conflicts:
#	test/integration/epp/domain/domain_delete_test.rb
#	test/integration/epp/domain/domain_update_test.rb
#	test/integration/epp/domain/transfer/request_test.rb
#	test/system/admin_area/domains_test.rb
2018-08-09 15:01:23 +03:00
Artur Beljajev
dbace4cbc5 Merge branch 'master' into refactor-devise-integration 2018-08-09 14:51:22 +03:00
Maciej Szlosarczyk
9dd9d4b1d6
Merge branch 'master' into registrant-api-contacts-controller 2018-08-09 14:05:27 +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
961c57563f
Merge branch 'registry-918' into registry-922 2018-08-08 09:15:40 +03:00
Maciej Szlosarczyk
06dc954167
Make tests inherit from ApplicationIntegrationTest class 2018-08-08 09:15:18 +03:00
Maciej Szlosarczyk
8736366a41
Merge branch 'registry-918' into registrant-api-contacts-controller 2018-08-08 09:14:11 +03:00
Maciej Szlosarczyk
e1881685b7
Make tests inherit from ApplicationIntegrationTest class 2018-08-08 09:13:46 +03:00
Maciej Szlosarczyk
133a11977e
Merge branch 'master' into registry-918 2018-08-08 09:06:32 +03:00
Maciej Szlosarczyk
abb1ad60e8
Update failing test 2018-08-07 15:09:18 +03:00
Maciej Szlosarczyk
0798001725
Make returned API errors more consistent 2018-08-07 15:04:37 +03:00
Maciej Szlosarczyk
de9b1517b0
Merge branch 'registry-918' into registrant-api-contacts-controller 2018-08-07 14:57:58 +03:00
Maciej Szlosarczyk
e3807f694d
Merge branch 'registry-918' into registry-922 2018-08-07 14:54:16 +03:00
Maciej Szlosarczyk
ad8dfcc28f
Make authentication errors more consistent with other errors 2018-08-07 14:52:33 +03:00
Maciej Szlosarczyk
3673c69319
Add Registrant/Contacts endpoint 2018-08-01 14:57:41 +03:00
Maciej Szlosarczyk
5c39cb6917
Merge branch 'registry-918' into registry-922 2018-07-31 15:29:36 +03:00
Maciej Szlosarczyk
c476680a91
Add pagination to index 2018-07-31 15:14:21 +03:00
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