T
tjacobs-sndr-019fdb
In the following snippet, the first two fields exist, the remaining do
not. However, the test correctly tells me that replyaddr is missing, but
never processes the last two items in the list:
def test_fields_exist
@fields = ['jobid', 'company', 'replyaddr', 'SEEKER_CC', 'RESUME_FILE']
@fields.each do |field|
assert(@reply_form.has_field?(field), "Field missing: #{field}")
end
end
Why is that?
not. However, the test correctly tells me that replyaddr is missing, but
never processes the last two items in the list:
def test_fields_exist
@fields = ['jobid', 'company', 'replyaddr', 'SEEKER_CC', 'RESUME_FILE']
@fields.each do |field|
assert(@reply_form.has_field?(field), "Field missing: #{field}")
end
end
Why is that?