tests/api/api_parser_tests.rb
# Skeleton assertion used for testing Simple Content
Skeleton assertion used for testing Simple Content
Skeleton assertion used for testing Simple Content
def simple_content_assert(exp_val, inp_val)
    exp_hash            = {}
    exp_hash['subject'] = exp_val unless exp_val.nil?
    exp_hash['content'] = exp_val unless exp_val.nil?
    exp                 = expected_response exp_hash
    assert_equal exp, ApiParser.parse_email(nil, nil, nil, nil, inp_val, inp_val)
  end
def simple_content_assert ( exp_val , inp_val ) exp_hash = { } exp_hash [ 'subject' ] = exp_val unless exp_val . nil? exp_hash [ 'content' ] = exp_val unless exp_val . nil? exp = expected_response exp_hash assert_equal exp , ApiParser . parse_email ( nil , nil , nil , nil , inp_val , inp_val ) end
Skeleton assertion used for testing Simple Content
Skeleton assertion used for testing Simple Content
exp_val
<not_specific>
inp_val
<not_specific>