Skip to content

Commit

Permalink
fix tests for non-interactive run
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzo committed Nov 30, 2018
1 parent 9ce92ca commit ff3f6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/end_user/bats/03_noide.bats
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ load '/opt/bats-support/load.bash'
load '/opt/bats-assert/load.bash'

@test "Without IDE: gocd-yaml returns OK when file is valid" {
run /bin/bash -c 'source Idefile.to_be_tested && docker run -ti --rm --volume $IDE_WORK:/ide/work $IDE_DOCKER_IMAGE "cd yaml-example && gocd-yaml syntax ci.gocd.yaml"'
run /bin/bash -c 'source Idefile.to_be_tested && docker run --rm --volume $IDE_WORK:/ide/work $IDE_DOCKER_IMAGE "cd yaml-example && gocd-yaml syntax ci.gocd.yaml"'
assert_output --partial "OK"
assert_equal "$status" 0
}

0 comments on commit ff3f6c8

Please sign in to comment.