mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Tests update #2608
This commit is contained in:
parent
ffb1ab6521
commit
e5c9ad8a47
1 changed files with 5 additions and 5 deletions
|
@ -248,7 +248,7 @@ describe Domain do
|
|||
d.valid?
|
||||
d.errors.full_messages.should match_array([
|
||||
"Domain name Domain name is invalid",
|
||||
"Puny label is too long (maximum is 63 characters)"
|
||||
"Puny label Domain name is too long (maximum is 63 characters)"
|
||||
])
|
||||
end
|
||||
|
||||
|
@ -258,7 +258,7 @@ describe Domain do
|
|||
d.valid?
|
||||
d.errors.full_messages.should match_array([
|
||||
"Domain name Domain name is invalid",
|
||||
"Puny label is too long (maximum is 63 characters)"
|
||||
"Puny label Domain name is too long (maximum is 63 characters)"
|
||||
])
|
||||
end
|
||||
|
||||
|
@ -274,7 +274,7 @@ describe Domain do
|
|||
d = Fabricate.build(:domain, name: "#{'ä' * 63}.ee")
|
||||
d.valid?
|
||||
d.errors.full_messages.should == [
|
||||
"Puny label is too long (maximum is 63 characters)"
|
||||
"Puny label Domain name is too long (maximum is 63 characters)"
|
||||
]
|
||||
end
|
||||
|
||||
|
@ -283,7 +283,7 @@ describe Domain do
|
|||
d.valid?
|
||||
d.errors.full_messages.should match_array([
|
||||
"Domain name Domain name is invalid",
|
||||
"Puny label is too long (maximum is 63 characters)"
|
||||
"Puny label Domain name is too long (maximum is 63 characters)"
|
||||
])
|
||||
end
|
||||
|
||||
|
@ -291,7 +291,7 @@ describe Domain do
|
|||
d = Fabricate.build(:domain, name: "#{'ä' * 63}.pri.ee")
|
||||
d.valid?
|
||||
d.errors.full_messages.should match_array([
|
||||
"Puny label is too long (maximum is 63 characters)"
|
||||
"Puny label Domain name is too long (maximum is 63 characters)"
|
||||
])
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue