mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Merge branch 'master' of github.com:domify/registry
This commit is contained in:
commit
249262e224
2 changed files with 9 additions and 5 deletions
|
@ -266,7 +266,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
|
||||
|
||||
|
@ -276,7 +276,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
|
||||
|
||||
|
@ -292,7 +292,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
|
||||
|
||||
|
@ -301,7 +301,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
|
||||
|
||||
|
@ -309,7 +309,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