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 <areddy@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Michael Hargiss <mhargiss@instructure.com>
Tested-by: Michael Hargiss <mhargiss@instructure.com>
This commit is contained in:
Michael Hargiss 2018-06-13 16:57:13 -06:00
parent 346458c2c9
commit 992dae5042
2 changed files with 2 additions and 2 deletions

View File

@ -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 \

View File

@ -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