add stub for testing feed::find

This commit is contained in:
Paul Campbell 2023-07-25 17:02:31 +01:00
parent 4a19470712
commit 8080352277

View file

@ -18,3 +18,15 @@ pub fn find(site: &str, channel_name: &str) -> Result<String> {
.to_string();
Ok(rss_url)
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn finds_rss_url() -> Result<()> {
// TODO: need to inject wrapper for reqwest::blocking::get
//
// todo!();
Ok(())
}
}