Fix test.

This commit is contained in:
Gav Wood 2016-02-11 00:38:19 +01:00
parent b4faad8469
commit 5f742c9142

View File

@ -133,7 +133,9 @@ mod tests {
#[test] #[test]
fn it_can_be_started() { fn it_can_be_started() {
let spec = get_test_spec(); let spec = get_test_spec();
let service = ClientService::start(spec, NetworkConfiguration::new()); let mut p = env::home_dir();
p.push(".parity");
let service = ClientService::start(spec, NetworkConfiguration::new(), &p);
assert!(service.is_ok()); assert!(service.is_ok());
} }
} }