require application in spec helper.
add specs for publish command.