From b9b79a7b7385ba18654d51bc2ca1b5d07f191d0e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 11 Sep 2018 14:49:25 -0700 Subject: finish fatcat-api => fatcat-api-spec refactor --- rust/tests/test_api_server.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rust/tests') diff --git a/rust/tests/test_api_server.rs b/rust/tests/test_api_server.rs index 54639228..ebc74b67 100644 --- a/rust/tests/test_api_server.rs +++ b/rust/tests/test_api_server.rs @@ -1,6 +1,6 @@ extern crate diesel; extern crate fatcat; -extern crate fatcat_api; +extern crate fatcat_api_spec; extern crate iron; extern crate iron_test; extern crate uuid; @@ -16,12 +16,12 @@ use uuid::Uuid; fn setup() -> ( Headers, - fatcat_api::router::Router, + fatcat_api_spec::router::Router, diesel::r2d2::PooledConnection>, ) { let server = fatcat::test_server().unwrap(); let conn = server.db_pool.get().expect("db_pool error"); - let router = fatcat_api::router(server); + let router = fatcat_api_spec::router(server); let mut headers = Headers::new(); let mime: Mime = "application/json".parse().unwrap(); headers.set(ContentType(mime)); -- cgit v1.2.3