summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-03-29 15:55:43 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-03-29 15:55:43 +0200
commit601c08b20bfb806d78fe92d9830960d1a333d5cf (patch)
tree28daf075e057595fbd817bf22eef3640aac8bd49 /tests
parentff2a4b09646a8a5949808bfadf31747751831963 (diff)
Initial implementation of --init group
As the todo list indicates, it needs some security refinement.
Diffstat (limited to 'tests')
-rw-r--r--tests/cli.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cli.rs b/tests/cli.rs
index 872c2ce..85f9708 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -116,12 +116,11 @@ fn can_init_a_new_git_repo() -> Result<()> {
}
#[test]
-#[ignore]
fn can_init_a_new_shared_git_repo() -> Result<()> {
let mut c = spawn_interactive_process()?;
let group = get_user_groups().pop().unwrap();
let repo_name = "my-new-shared-repo";
- c.p.send_line(&format!("git-init --shared {} {}", group, repo_name))?;
+ c.p.send_line(&format!("git-init --group {} {}", group, repo_name))?;
c.p.exp_string(&format!(
"Successfully created \"git/{}/{}.git\"",
group, repo_name