diff --git a/tests/test_issue_11_workflow_integration.py b/tests/test_issue_11_workflow_integration.py index a382c076..1116bae4 100644 --- a/tests/test_issue_11_workflow_integration.py +++ b/tests/test_issue_11_workflow_integration.py @@ -29,22 +29,22 @@ class TestWorkflowIntegration: yield config shutil.rmtree(temp_dir) - def test_make_workspace_status_command(self): - """Test that make workspace-status command works correctly.""" - result = subprocess.run(['make', 'workspace-status'], + def test_make_tdd_status_command(self): + """Test that make tdd-status command works correctly.""" + result = subprocess.run(['make', 'tdd-status'], capture_output=True, text=True) - assert result.returncode == 0, "workspace-status command should succeed" + assert result.returncode == 0, "tdd-status command should succeed" # Should show clean workspace when no active workspace assert ("No active issue workspace" in result.stdout or "Workspace directory exists but no current issue file" in result.stdout) - def test_make_add_test_command_without_workspace(self): - """Test that make add-test provides proper error when no workspace.""" - result = subprocess.run(['make', 'add-test'], + def test_make_tdd_add_test_command_without_workspace(self): + """Test that make tdd-add-test provides proper error when no workspace.""" + result = subprocess.run(['make', 'tdd-add-test'], capture_output=True, text=True) - assert result.returncode != 0, "add-test command should fail when no workspace" + assert result.returncode != 0, "tdd-add-test command should fail when no workspace" assert "No active issue workspace" in result.stdout def test_cli_integration_basic(self):