specs: fix MiniTest typo for older ruby versions