Skip to content

Commit

Permalink
Fix failing expectations based on updated job names
Browse files Browse the repository at this point in the history
  • Loading branch information
mariash committed Dec 18, 2015
1 parent 2c4d255 commit 917dccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/with_release_stemcell_failed_deployment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
expect(failed_deployment_result).to_not succeed

events(get_task_id(failed_deployment_result.output, 'error')).each do |event|
expect(event['task']).to_not match(/^batlight\/1/) if event['stage'] == 'Updating job'
expect(event['task']).to_not match(/^batlight\/.* (1)/) if event['stage'] == 'Updating job'
end
end
end
Expand All @@ -52,7 +52,7 @@
expect(failed_deployment_result).to_not succeed

events(get_task_id(failed_deployment_result.output, 'error')).each do |event|
expect(event['task']).to_not match(/^batlight\/1/) if event['stage'] == 'Updating job'
expect(event['task']).to_not match(/^batlight\/.* (1)/) if event['stage'] == 'Updating job'
end
end
end
Expand Down

0 comments on commit 917dccd

Please sign in to comment.