diff options
| -rw-r--r-- | README.md | 6 | ||||
| -rwxr-xr-x | bin/acceptance.sh | 14 |
2 files changed, 16 insertions, 4 deletions
@@ -98,11 +98,9 @@ LicenseStatus (flyweight, state) * GET /company/:guid/licenses?status=expired&township=:township - list of expired licenses for township, for company. #### todo -* error handling * rename license to well license -* add pagination to company licenses controller -* update application controller to inherit directly from metal controllers -* move secret token to env variable +* move secret token to env variable. +* cache additional payload data. #### nice to haves * simplecov diff --git a/bin/acceptance.sh b/bin/acceptance.sh new file mode 100755 index 0000000..dc2944b --- /dev/null +++ b/bin/acceptance.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e + +TARGET_HOST=http://infinite-atoll-2481.herokuapp.com + +clear + +echo connecting to $TARGET_HOST +curl $TARGET_HOST +echo + +echo connecting to $TARGET_HOST/v1/licenses +curl $TARGET_HOST/v1/licenses +echo |
