diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-22 09:17:41 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-22 09:17:41 -0700 |
| commit | bf25475d2434452097abb14ab6f2df2c8a4ea856 (patch) | |
| tree | d3be21b1b5bafb54bda6847f9f24970888f33659 | |
| parent | 89b64a44f269bb6dfe68cdff8a168ee2a04ee9d6 (diff) | |
start to write quick visual acceptance test as a shell script.
| -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 |
