Merge pull request #405 from ethcore/cliopt

Fix test.
This commit is contained in:
Arkadiy Paronyan 2016-02-11 02:08:36 +01:00
commit 83c4a05d31

View File

@ -133,7 +133,8 @@ 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 temp_path = RandomTempPath::new();
let service = ClientService::start(spec, NetworkConfiguration::new(), &temp_path.as_path());
assert!(service.is_ok()); assert!(service.is_ok());
} }
} }