Commit graph

1233 commits

Author SHA1 Message Date
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
7a054ca893 Fix tests and specs 2018-07-13 23:12:01 +03:00
Artur Beljajev
32ecf36057 Rename users.password to users.plain_text_password
Otherwise it conflicts with Devise
2018-07-13 23:09:21 +03:00
Artur Beljajev
8b7769e19e Merge branch 'master' into refactor-devise-integration
# Conflicts:
#	spec/features/registrar/sign_in/mobile_id_spec.rb
2018-07-12 18:59:11 +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
3acd605b90
Change inheritance structure to match the one from Rails 5 more
In the future, ApplicationSystemTestCase should inherit from
ActionDispatch::SystemTestCase and JavaScriptApplicationSystemTestCase
could possibly be removed if the `driven_by` method works as it is
promised in Rails documentation:

http://api.rubyonrails.org/v5.2/classes/ActionDispatch/SystemTestCase.html

Consider introducing another class between
ActionDispatch::IntegrationTest and other items inheriting from it, as
the general Rails practice seems to have `ApplicationIntegrationTest`,
as we do have `ApplicationRecord` and `ApplicationController`.
2018-07-10 17:10:26 +03:00
Maciej Szlosarczyk
0fa30591a8
Add mocked challenge_id to be displayed inside flash message 2018-07-09 16:10:40 +03:00
Maciej Szlosarczyk
2bcedd0fac
Move transactional fixtures to base class 2018-07-09 12:45:48 +03:00
Maciej Szlosarczyk
0e86214d1c
Rewrite test to find the flash message 2018-07-09 10:35:57 +03:00
Maciej Szlosarczyk
e1f77c1d03
Add database cleaner to tests that cannot run in a transaction 2018-07-09 10:16:45 +03:00
Maciej Szlosarczyk
b164a58523
Add new base test class definition 2018-07-09 10:16:44 +03:00
Maciej Szlosarczyk
f327bdf6b6
Rewrite mobile id spec to a test 2018-07-09 10:16:44 +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
Maciej Szlosarczyk
b5f07682f4
Make replace_nameservers return an array of domain names 2018-07-05 16:15:32 +03:00
Maciej Szlosarczyk
417a390ff7
Add tests for DomainDeleteConfirmJob 2018-06-25 16:14:36 +03:00
Maciej Szlosarczyk
934404036f
Add tests for DomainUpdateConfirmJob 2018-06-25 15:50:07 +03:00
Maciej Szlosarczyk
657affb68d
Add whois record fixture and fix invoices fixture 2018-06-22 13:39:45 +03:00
Timo Võhmar
6c564f925b
Merge pull request #889 from internetee/replace-warden-helpers-with-devise
Replace Warden test helpers with Devise ones
2018-06-22 10:51:24 +03:00
Artur Beljajev
f299241b28 Merge branch 'master' into registry-791
# Conflicts:
#	db/structure.sql
2018-06-21 17:38:38 +03:00
Timo Võhmar
81f70c7d64
Merge pull request #873 from internetee/add-uuid-db-columns
Add UUID db columns
2018-06-21 15:22:11 +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
904975ad2d Update fixtures 2018-06-20 12:25:09 +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
5cb6e765e3 Merge branch 'remove-dev-rake-task' into registry-790 2018-06-18 18:05:03 +03:00
Artur Beljajev
3b3c8e6a2d Revert "Update fixtures"
This reverts commit 76f8a46
2018-06-18 18:01:29 +03:00
Artur Beljajev
e418ec6825 Revert "Update fixture"
This reverts commit 81f923a
2018-06-18 18:01:14 +03:00
Artur Beljajev
8b2a3344be Merge branch 'master' into remove-dev-rake-task
# Conflicts:
#	lib/tasks/dev.rake
2018-06-18 16:31:01 +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
Artur Beljajev
96b02ed8d5 Merge remote-tracking branch 'origin/registry-791' into registry-791 2018-06-15 16:56:27 +03:00
Artur Beljajev
255b0db9cb Merge branch 'master' into registry-791 2018-06-15 16:55:58 +03:00
Artur Beljajev
5626c87e04 Change contacts.uuid and domains.uuid to NOT NULL 2018-06-13 07:27:29 +03:00
Artur Beljajev
76f8a46faa Update fixtures 2018-06-12 08:31:41 +03:00
Artur Beljajev
e34ef78c4d Merge branch 'remove-dev-rake-task' into registry-790 2018-06-11 10:09:01 +03:00
Artur Beljajev
81f923ab01 Update fixture 2018-06-11 10:04:29 +03:00
Artur Beljajev
c2d5b7c704 Extract method 2018-06-11 08:26:17 +03:00
Artur Beljajev
4e2bd9f2da Improve readability 2018-06-11 08:13:35 +03:00
Artur Beljajev
36b137eb84 Merge branch 'master' into registry-791 2018-06-09 08:01:10 +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