features/step_definitions/deploy-context.rb in deploy-context-2.0.2 vs features/step_definitions/deploy-context.rb in deploy-context-2.0.2.1.g00ce101
- old
+ new
@@ -11,32 +11,32 @@
# Dir.chdir File.join(deployer.contexts_container(deployer), project_name)
# end
# end
Alors('démarrer un simple cycle de {word}') do |project_name|
- context_exec [project_name, 'once'] || abort!('Issue with life cycle')
+ context_exec [project_name, 'once'] || abort("#{project_name} ERROR: Issue with life cycle")
end
Alors('déployer le projet {word}') do |project_name|
- context_exec [project_name, 'release'] || abort!('Issue with deploy steps')
+ context_exec [project_name, 'release'] || abort("#{project_name} ERROR: Issue with deploy steps")
end
Alors('tester le projet {word}') do |project_name|
- context_exec [project_name, 'test'] || abort!('Issue with testing steps')
+ context_exec [project_name, 'test'] || abort("#{project_name} ERROR: Issue with testing steps")
end
Étantdonnéque('le projet {word} à du code à updater') do |project_name|
- context_exec [project_name, 'check_code_to_update'] || abort!('Issue to check updated code')
+ context_exec [project_name, 'check_code_to_update'] || abort("#{project_name} ERROR: Issue to check updated code")
end
Alors('bumper la version du patch de {word}') do |project_name|
- context_exec [project_name, 'bump'] || abort!('Issue with bumping version')
+ context_exec [project_name, 'bump'] || abort("#{project_name} ERROR: Issue with bumping version")
end
Étantdonnéque('le projet {word} à la bonne version d\'installer') do |project_name|
- context_exec [project_name, 'check_installed_version'] || abort!('Issue to check installed version')
+ context_exec [project_name, 'check_installed_version'] || abort("#{project_name} ERROR: Issue to check installed version")
end
Étantdonnéque('le projet {word} à une nouvelle version de disponible') do |project_name|
- context_exec [project_name, 'check_new_version'] || abort!('Issue to check newer version available')
+ context_exec [project_name, 'check_new_version'] || abort("#{project_name} ERROR: Issue to check newer version available")
end