Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request tumblr#153 from byxorna/gabe-fix-bash-api-test
Browse files Browse the repository at this point in the history
POSIX formatted attributes are now all caps, fix tests to reflect that
  • Loading branch information
William Richard committed May 1, 2014
2 parents 5c95ce3 + cec576b commit 4fdb81c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/controllers/ApiSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ class ApiSpec extends ApplicationSpecification with ControllerSpec {
def provideBashResponse = new ResponseMatcher(BashOutput().contentType) {
override def expectedStatusCode = 200
override def responseMatches(txt: String): Boolean = {
txt.contains("""Data_TestList_0_name="foo123";""") &&
txt.contains("""Data_TestList_0_key_with_dash="val-with-dash";""") &&
txt.contains("""Status="Ok";""");
txt.contains("""DATA_TESTLIST_0_NAME="foo123";""") &&
txt.contains("""DATA_TESTLIST_0_KEY_WITH_DASH="val-with-dash";""") &&
txt.contains("""STATUS="Ok";""");
}
}

Expand Down

0 comments on commit 4fdb81c

Please sign in to comment.