use method_ok

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>