From 73b7d96501420fcce7bc002bd839ec9cafde6a0a Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 28 May 2015 17:01:18 -0700 Subject: [PATCH] Test on fields that exist --- test/integration/roles/test_get_url/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/roles/test_get_url/tasks/main.yml b/test/integration/roles/test_get_url/tasks/main.yml index 3a6bc509c0e..88ff3b2e21c 100644 --- a/test/integration/roles/test_get_url/tasks/main.yml +++ b/test/integration/roles/test_get_url/tasks/main.yml @@ -55,8 +55,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"