Method: ErrorTest#test_create3

Defined in:
lib/vendor/xmpp4r/test/tc_errors.rb

#test_create3Object



71
72
73
74
75
76
77
# File 'lib/vendor/xmpp4r/test/tc_errors.rb', line 71

def test_create3
  e = ErrorResponse.new('gone', 'User moved to afterlife.gov')
  assert_equal('gone', e.error)
  assert_equal(302, e.code)
  assert_equal(:modify, e.type)
  assert_equal('User moved to afterlife.gov', e.text)
end