mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Add data migration to i18ze disclaimer
This commit is contained in:
parent
285be463da
commit
9b3559c8b8
5 changed files with 31 additions and 14 deletions
|
@ -12,10 +12,7 @@ class WhoisRecordTest < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
def test_generated_json_has_expected_values
|
||||
expected_disclaimer_text = <<-TEXT.squish
|
||||
Search results may not be used for commercial, advertising, recompilation,
|
||||
repackaging, redistribution, reuse, obscuring or other similar activities.
|
||||
TEXT
|
||||
expected_disclaimer_text = SettingEntry.find_by(code: 'registry_whois_disclaimer').retrieve
|
||||
|
||||
expected_partial_hash = {
|
||||
disclaimer: expected_disclaimer_text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue