Changed solution

This commit is contained in:
mmeest 2025-06-10 15:10:15 +03:00
parent 2314a4aee2
commit a8f13b6920
2 changed files with 5 additions and 5 deletions

View file

@ -262,8 +262,8 @@ GEM
thor (>= 0.14.0, < 2)
globalid (1.2.1)
activesupport (>= 6.1)
google-protobuf (3.25.8)
google-protobuf (3.25.8-x86_64-linux)
google-protobuf (3.25.2)
google-protobuf (3.25.2-x86_64-linux)
googleapis-common-protos-types (1.3.0)
google-protobuf (~> 3.14)
grpc (1.60.0)
@ -412,8 +412,8 @@ GEM
request_store (~> 1.4)
pdfkit (0.8.7.2)
pg (1.5.9)
pg_query (6.1.0)
google-protobuf (>= 3.25.3)
pg_query (2.1.2)
google-protobuf (>= 3.17.1)
pghero (3.1.0)
activerecord (>= 6)
pry (0.15.2)

View file

@ -7,7 +7,7 @@ class Admin::DomainsControllerTest < ApplicationIntegrationTest
@john.update!(ident: '1234-1234') # ident with hyphen
registrant = @john.becomes(Registrant)
@domain = domains(:shop)
@domain.update!(registrant: @john) # make sure the domain is linked to @john
@domain.update!(registrant: registrant) # make sure the domain is linked to registrant
end
def test_search_by_hyphenated_registrant_ident_should_succeed