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
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
d064dbc11f
Replace Warden test helpers with Devise ones
2018-06-19 19:40:35 +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
5626c87e04
Change contacts.uuid
and domains.uuid
to NOT NULL
2018-06-13 07:27:29 +03:00
Maciej Szlosarczyk
f1294508d1
Improve setup of a locally failing test
2018-06-07 14:46:18 +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
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
Timo Võhmar
97ca7198fa
Merge pull request #837 from internetee/registry-795
...
Registry 795
2018-05-23 09:18:56 +03:00
Maciej Szlosarczyk
d7afb3880a
Merge branch 'master' into credit-and-debit-card-payments
2018-04-30 11:38:19 +03:00
Maciej Szlosarczyk
d92004cbe0
Rename Payments to PaymentOrders
2018-04-30 09:30:34 +03:00
Maciej Szlosarczyk
c08561fa0d
Remove information about web-based whois form name fields
2018-04-27 14:26:49 +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
20d341f2e5
Add handling of missing disclaimer
2018-04-26 12:18:03 +03:00
Maciej Szlosarczyk
396852df53
Remove technical and administrative contacts info
...
It's a partial solution for https://github.com/internetee/whois/issues/26
2018-04-26 11:45:05 +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
449a37252f
Add disclaimer to UNIX template
2018-04-25 17:00:28 +03:00
Maciej Szlosarczyk
9c606bdf2f
Add disclaimer to whois JSON
2018-04-25 15:28:56 +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
e1149bf92b
Implement code review changes
2018-04-23 15:23:36 +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
Maciej Szlosarczyk
663214ee49
Remove variable fields from tests
2018-04-20 14:50:14 +03:00
Maciej Szlosarczyk
e066b1d246
Fix timezone problem in tests
2018-04-20 14:42:35 +03:00
Maciej Szlosarczyk
f6b1db2cce
Fix leaking test
2018-04-20 13:21:20 +03:00
Maciej Szlosarczyk
1cca930744
Cleanup code and environment variables
2018-04-19 10:27:55 +03:00
Maciej Szlosarczyk
d7dc1017b0
Remove capybara-selenium
2018-04-18 19:27:19 +03:00