use padzapp::model::Scope;
use padzapp::store::fs::FileStore;
use tempfile::TempDir;
#[test]
fn test_filestore_wrapper_methods() {
let proj = TempDir::new().unwrap();
let glob = TempDir::new().unwrap();
let store = FileStore::new(Some(proj.path().to_path_buf()), glob.path().to_path_buf());
let store = store.with_file_ext(".md");
assert_eq!(store.file_ext(), ".md");
let result = store.sync(Scope::Project);
assert!(result.is_ok()); }