Fix 'lines' handling in specs.