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

@ -87,7 +87,8 @@ describe 'EPP Poll', epp: true do
})
response = epp_plain_request(xml, validate_input: false)
response[:msg].should == "Element '{urn:ietf:params:xml:ns:epp-1.0}poll', attribute 'op': [facet 'enumeration'] The value 'bla' is not an element of the set {'ack', 'req'}."
response[:msg].should == "Element '{urn:ietf:params:xml:ns:epp-1.0}poll', attribute 'op': "\
"[facet 'enumeration'] The value 'bla' is not an element of the set {'ack', 'req'}."
response[:result_code].should == '2001'
end