From c2d8ca4bf7649af18b0864b038d989a79861e01e Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 30 Jul 2015 18:36:54 -0400 Subject: [PATCH] fixed test to expected output --- test/integration/roles/test_failed_when/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/roles/test_failed_when/tasks/main.yml b/test/integration/roles/test_failed_when/tasks/main.yml index a69cef74cf..4a5617e142 100644 --- a/test/integration/roles/test_failed_when/tasks/main.yml +++ b/test/integration/roles/test_failed_when/tasks/main.yml @@ -54,7 +54,7 @@ - assert: that: - - "'failed' not in result" + - "'failed' in result and result.failed" - name: command rc 1 failed_when_result False shell: exit 1