Ortiz had 'no doubt' he'd get two-year deal