Skip to content

Commit 51cd768

Browse files
committed
refactor: [#227] rename tests in template_integration.rs
Renamed 4 integration test functions. Tests: All tests pass
1 parent b966193 commit 51cd768

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/template_integration.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mod integration_tests {
1818

1919
/// Test that the real inventory template renders correctly
2020
#[test]
21-
fn test_real_inventory_template_rendering() -> Result<()> {
21+
fn it_should_render_inventory_template_when_using_real_configuration() -> Result<()> {
2222
// Use the actual inventory template
2323
let template_path = PathBuf::from("templates/ansible/inventory.yml.tera");
2424

@@ -78,7 +78,7 @@ mod integration_tests {
7878

7979
/// Test variable validation with real template
8080
#[test]
81-
fn test_real_template_variable_validation() -> Result<()> {
81+
fn it_should_validate_template_variables_when_rendering_real_templates() -> Result<()> {
8282
let template_path = PathBuf::from("templates/ansible/inventory.yml.tera");
8383

8484
// Skip test if template file doesn't exist
@@ -149,7 +149,7 @@ mod integration_tests {
149149

150150
/// Test that template rendering doesn't modify any files in the templates directory
151151
#[test]
152-
fn test_no_template_directory_modifications() -> Result<()> {
152+
fn it_should_not_modify_template_directory_when_rendering_templates() -> Result<()> {
153153
let template_path = PathBuf::from("templates/ansible/inventory.yml.tera");
154154

155155
if !template_path.exists() {
@@ -191,7 +191,7 @@ mod integration_tests {
191191

192192
/// Test build directory workflow simulation
193193
#[test]
194-
fn test_build_directory_workflow() -> Result<()> {
194+
fn it_should_execute_full_build_directory_workflow_when_generating_templates() -> Result<()> {
195195
// Simulate the complete build directory workflow
196196
let temp_dir = TempDir::new()?;
197197
let build_root = temp_dir.path().join("build");

0 commit comments

Comments
 (0)