Browse code

Test on fields that are actually set

Toshio Kuratomi authored on 2015/05/29 09:02:48
Showing 1 changed files
... ...
@@ -121,8 +121,8 @@
121 121
     path: "{{ output_dir }}/kreitz.html"
122 122
   register: stat_result
123 123
 
124
-- name: Assert that the file was not downloaded
124
+- name: Assert that the file was downloaded
125 125
   assert:
126 126
     that:
127
-      - "result.failed == false"
127
+      - "result.changed == true"
128 128
       - "stat_result.stat.exists == true"