Extended the NewModel builder and added a bunch of unit tests.

This commit is contained in:
Jordan Petridis
2017-11-27 04:32:21 +02:00
parent ee4f08c5cf
commit cb65782829
6 changed files with 225 additions and 16 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use std::path::Path;
use errors::*;
use hammond_data::{Episode, Podcast};
use hammond_data::xdg_::{DL_DIR, HAMMOND_CACHE};
use hammond_data::xdg_dirs::{DL_DIR, HAMMOND_CACHE};
// TODO: Replace path that are of type &str with std::path.
// TODO: Have a convention/document absolute/relative paths, if they should end with / or not.