From ac14ad1419aff12aa9b7186dae129fe9aa770106 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 28 May 2015 17:02:48 -0700 Subject: [PATCH] Test on fields that are actually set --- test/integration/roles/test_uri/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/roles/test_uri/tasks/main.yml b/test/integration/roles/test_uri/tasks/main.yml index da4bf655749..99c6048a59e 100644 --- a/test/integration/roles/test_uri/tasks/main.yml +++ b/test/integration/roles/test_uri/tasks/main.yml @@ -121,8 +121,8 @@ path: "{{ output_dir }}/kreitz.html" register: stat_result -- name: Assert that the file was not downloaded +- name: Assert that the file was downloaded assert: that: - - "result.failed == false" + - "result.changed == true" - "stat_result.stat.exists == true"