Fix rubocop errors, add error message for transfer period #2803

This commit is contained in:
Martin Lensment 2015-07-28 11:17:19 +03:00
parent 6d3f2f611b
commit aecd61670a
5 changed files with 60 additions and 11 deletions

View file

@ -142,7 +142,9 @@ describe 'EPP Session', epp: true do
newPW: { value: '' }
), validate_input: false)
response[:msg].should == "Element '{urn:ietf:params:xml:ns:epp-1.0}newPW': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '6'."
response[:msg].should ==
"Element '{urn:ietf:params:xml:ns:epp-1.0}newPW': [facet 'minLength'] The value has a "\
"length of '0'; this underruns the allowed minimum length of '6'."
response[:result_code].should == '2001'
@api_user.reload