From 992dae5042c80b15b01e1de1091c6001febaecbd Mon Sep 17 00:00:00 2001 From: Michael Hargiss Date: Wed, 13 Jun 2018 16:57:13 -0600 Subject: [PATCH] fix pact script Test Plan: - qa-cr if your name is Anju Change-Id: Iea1bf31947eb5f4ab74abfc53bdaa2192989ca20 Reviewed-on: https://gerrit.instructure.com/153771 Reviewed-by: Anju Reddy QA-Review: Anju Reddy Product-Review: Michael Hargiss Tested-by: Michael Hargiss --- bin/contracts-verify-api | 2 +- bin/contracts-verify-live-events | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/contracts-verify-api b/bin/contracts-verify-api index f39c6a69478..535f6a8faf2 100755 --- a/bin/contracts-verify-api +++ b/bin/contracts-verify-api @@ -2,7 +2,7 @@ set -e -if [ -f ../config/consul.yml ]; then # canvas is running in docker +if [ -f "config/consul.yml" ]; then # canvas is running in docker docker-compose run --rm --no-deps \ -e RAILS_ENV=test \ -e RUN_API_CONTRACT_TESTS=1 \ diff --git a/bin/contracts-verify-live-events b/bin/contracts-verify-live-events index 0d314a6a95b..b472dd20867 100755 --- a/bin/contracts-verify-live-events +++ b/bin/contracts-verify-live-events @@ -2,7 +2,7 @@ set -e -if [ -f ../config/consul.yml ]; then # canvas is running in docker +if [ -f "config/consul.yml" ]; then # canvas is running in docker docker-compose run --rm --no-deps -e RAILS_ENV=test web \ bundle exec rspec spec/contracts/service_consumers/live_events \ --tag pact_live_events --format doc