Remove unused variable in spec