()
| 825 | |
| 826 | #[test] |
| 827 | fn test_init_builder_chain() { |
| 828 | let init = Init::at_path("/project") |
| 829 | .with_view("main") |
| 830 | .with_kind("python"); |
| 831 | |
| 832 | assert_eq!(init.path, PathBuf::from("/project")); |
| 833 | assert_eq!(init.view, "main"); |
| 834 | assert_eq!(init.kind, Some("python".to_string())); |
| 835 | } |
| 836 | |
| 837 | #[test] |
| 838 | fn test_init_with_vault_flag() { |