()
| 709 | |
| 710 | #[test] |
| 711 | fn test_init_builder_chain() { |
| 712 | let init = Init::at_path("/project") |
| 713 | .with_view("main") |
| 714 | .with_kind("python"); |
| 715 | |
| 716 | assert_eq!(init.path, PathBuf::from("/project")); |
| 717 | assert_eq!(init.view, "main"); |
| 718 | assert_eq!(init.kind, Some("python".to_string())); |
| 719 | } |
| 720 | |
| 721 | #[test] |
| 722 | fn test_init_with_vault_flag() { |