diff options
Diffstat (limited to 'src/tests.rs')
-rw-r--r-- | src/tests.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/tests.rs b/src/tests.rs index 3eb71ec..1dc64ec 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -98,7 +98,12 @@ async fn test_missing_branch() { .unwrap(), ) .await; - assert_eq!(res.status(), 404); // branch not found + assert_eq!(res.status(), 200); + assert!(res + .into_body() + .into_text() + .await + .contains("create files by editing the URL")); - // TODO: create commit with file and test that it is retrievable + // TODO: create file and test that it is retrievable } |