Add member directory and aggregates, cut citation economics from spec (Draft 0.4)
This commit is contained in:
@@ -125,6 +125,25 @@ fn cli_init_add_search_status() {
|
||||
assert_eq!(mode, 0o600, "key file must not be world readable");
|
||||
}
|
||||
|
||||
let stdout = run_ok(&[
|
||||
"--config".to_string(),
|
||||
config_arg.clone(),
|
||||
"member".to_string(),
|
||||
"add".to_string(),
|
||||
"carol".to_string(),
|
||||
"ab".repeat(32),
|
||||
"--class".to_string(),
|
||||
"enrichment".to_string(),
|
||||
]);
|
||||
assert!(stdout.contains("carol"));
|
||||
let stdout = run_ok(&[
|
||||
"--config".to_string(),
|
||||
config_arg.clone(),
|
||||
"member".to_string(),
|
||||
"list".to_string(),
|
||||
]);
|
||||
assert!(stdout.contains("carol [enrichment]"));
|
||||
|
||||
let stdout = run_ok(&add_args(&config, &docs, "docs", true));
|
||||
assert!(stdout.contains("indexed 1 file(s)"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user