Merge pull request #355 from plietar/static-test

Add a static website test.
This commit is contained in:
Paul Lietar
2013-12-03 11:21:45 -08:00
3 changed files with 3 additions and 0 deletions

0
tests/apps/static/.nginx Normal file
View File

2
tests/apps/static/check_deploy Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
set -e; output="$(curl -s $1)"; echo $output; test "$output" == "<html><h3>Static Page</h3></html>"

View File

@@ -0,0 +1 @@
<html><h3>Static Page</h3></html>