'Check the action buttons on the review page.
`expected` is a list of tuples containing action name and action form
value.  `elements` is a PyQuery list of input elements.'

def check_actions(self, expected, elements):

    for (idx, item) in enumerate(expected):
        (text, form_value) = item
        e = elements.eq(idx)
        eq_(e.parent().text(), text)
        eq_(e.attr('name'), 'action')
        eq_(e.val(), form_value)
