Split hammond-data/models into sub modules.

This commit is contained in:
Jordan Petridis
2017-11-15 17:42:22 +02:00
parent 118846f255
commit cfb876e006
5 changed files with 73 additions and 63 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ mod tests {
image_uri: Some("http://newrustacean.com/podcast.png".to_string()),
source_id: 0,
};
let pd = pd.into_podcast();
let pd = Podcast::from(pd);
let pxbuf = get_pixbuf_from_path(&pd);
assert!(pxbuf.is_some());