We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c0233 commit 5446187Copy full SHA for 5446187
README.md
@@ -77,10 +77,10 @@ class ParentSpec extends Specification implements GrailsUnitTest {
77
def phone = new PhoneNumber(telephoneType: new PhoneNumber.TelephoneType())
78
79
when:
80
- parent.validate(['telephoneType'])
+ phone.validate(['telephoneType'])
81
82
then:
83
- parent.hasErrors()
+ phone.hasErrors()
84
85
parent.errors.getFieldError('telephoneType.id').code == 'nullable'
86
parent.errors.getFieldError('telephoneType.countryCodeRecommended').code == 'nullable'
0 commit comments