From ebe3990d0d931c76007d2536b2643bbba4742b78 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Thu, 11 Feb 2016 03:40:22 +0300 Subject: [PATCH] fixing tests and build --- ethcore/src/service.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ethcore/src/service.rs b/ethcore/src/service.rs index b73de0216..5e68efae9 100644 --- a/ethcore/src/service.rs +++ b/ethcore/src/service.rs @@ -133,9 +133,8 @@ mod tests { #[test] fn it_can_be_started() { let spec = get_test_spec(); - let mut p = env::home_dir(); - p.push(".parity"); - let service = ClientService::start(spec, NetworkConfiguration::new(), &p); + let temp_path = RandomTempPath::new(); + let service = ClientService::start(spec, NetworkConfiguration::new(), &temp_path.as_path()); assert!(service.is_ok()); } }