Browse code

Test on fields that exist

Toshio Kuratomi authored on 2015/05/29 09:01:18
Showing 1 changed files
... ...
@@ -55,8 +55,8 @@
55 55
     path: "{{ output_dir }}/kreitz.html"
56 56
   register: stat_result
57 57
 
58
-- name: Assert that the file was not downloaded
58
+- name: Assert that the file was downloaded
59 59
   assert:
60 60
     that:
61
-      - "result.failed == false"
61
+      - "result.changed == true"
62 62
       - "stat_result.stat.exists == true"