From 7ce092dff2626cda61a501ea8da9fed65a0865ba Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Wed, 8 Aug 2018 15:49:37 +0300 Subject: [PATCH] Add final assertion To make sure that the domain is in the right state after out-of-order execution of the lock removal --- test/system/admin_area/domains/registry_lock_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/system/admin_area/domains/registry_lock_test.rb b/test/system/admin_area/domains/registry_lock_test.rb index 47b1f8329..6c741ba60 100644 --- a/test/system/admin_area/domains/registry_lock_test.rb +++ b/test/system/admin_area/domains/registry_lock_test.rb @@ -51,5 +51,6 @@ class RegistryLockTest < JavaScriptApplicationSystemTestCase end assert_text('Registry lock could not be removed') + refute @domain.locked_by_registrant? end end