Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clean merge
  • Loading branch information
Johannes Huning committed Jun 11, 2012
1 parent 06429f5 commit b890fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/etest_http_test.erl
Expand Up @@ -30,10 +30,10 @@ test_response_assertions() ->
?assert_body_contains("Hello", Res), ?assert_body_contains("Hello", Res),
?assert_error({assert_contains, _}, ?assert_body_contains("Olleh", Res)), ?assert_error({assert_contains, _}, ?assert_body_contains("Olleh", Res)),


% no date header returned ?assert_header("date", Res), ?assert_header("date", Res),
?assert_error({assert_header, _}, ?assert_header("X-Missing", Res)), ?assert_error({assert_header, _}, ?assert_header("X-Missing", Res)),


% no headers ?assert_header_val("content-type", "text/html", Res), ?assert_header_value("content-type", "text/html", Res),
?assert_error({assert_header_val, _}, ?assert_error({assert_header_val, _},
?assert_header_value("content-type", "application/json", Res)). ?assert_header_value("content-type", "application/json", Res)).


Expand Down

0 comments on commit b890fcf

Please sign in to comment.