pub fn get(path: impl Into<String>) -> TestConnExpand description
Builds a new TestConn with the get http method and the provided path.
use trillium_testing::prelude::*;
let conn = get("/some/route").on(&());
assert_eq!(conn.method(), Method::Get);
assert_eq!(conn.path(), "/some/route");