fix for any_number_of_times in unit tests for deploy_spec
fix for "when the path is directory" in deploy_spec
Merge branch 'fix_tests'

Conflicts:
	spec/lib/job/deploy_spec.rb