Add dockerize to wait for elasticsearch to boot during test runs

This commit is contained in:
Lars Henrik Mai 2020-01-16 12:56:35 +01:00
parent dc3a97d3b8
commit 4d4ed38dfc
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash
bundle exec rspec
dockerize -wait $ELASTICSEARCH_URL -timeout 30s bundle exec rspec