()
| 696 | |
| 697 | #[test] |
| 698 | fn test_init_builder_chain() { |
| 699 | let init = Init::at_path("/project") |
| 700 | .with_view("main") |
| 701 | .with_kind("python"); |
| 702 | |
| 703 | assert_eq!(init.path, PathBuf::from("/project")); |
| 704 | assert_eq!(init.view, "main"); |
| 705 | assert_eq!(init.kind, Some("python".to_string())); |
| 706 | } |
| 707 | |
| 708 | #[test] |
| 709 | fn test_init_with_vault_flag() { |