Skip to content

Commit

Permalink
fix(tests): check for immovable response
Browse files Browse the repository at this point in the history
"Deis" in "Powered by Deis" is configured by an environment variable
called $POWERED_BY. We should not be checking for Deis, as it can be
defined as something else.
  • Loading branch information
Matthew Fisher committed Dec 2, 2014
1 parent e568f83 commit 19cd5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/itutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func doCurl(url string) ([]byte, error) {
defer response.Body.Close()
body, err := ioutil.ReadAll(response.Body)

if !strings.Contains(string(body), "Powered by Deis") {
if !strings.Contains(string(body), "Powered by") {
return nil, fmt.Errorf("App not started (%d)\nBody: (%s)", response.StatusCode, string(body))
}

Expand Down

0 comments on commit 19cd5f7

Please sign in to comment.