diff options
Diffstat (limited to 'test/integration/targets/gem')
-rw-r--r-- | test/integration/targets/gem/meta/main.yml | 3 | ||||
-rw-r--r-- | test/integration/targets/gem/tasks/main.yml | 13 |
2 files changed, 7 insertions, 9 deletions
diff --git a/test/integration/targets/gem/meta/main.yml b/test/integration/targets/gem/meta/main.yml index 1050c23ce3..07faa21776 100644 --- a/test/integration/targets/gem/meta/main.yml +++ b/test/integration/targets/gem/meta/main.yml @@ -1,3 +1,2 @@ -dependencies: +dependencies: - prepare_tests - diff --git a/test/integration/targets/gem/tasks/main.yml b/test/integration/targets/gem/tasks/main.yml index 476e602634..adf76d7c33 100644 --- a/test/integration/targets/gem/tasks/main.yml +++ b/test/integration/targets/gem/tasks/main.yml @@ -23,18 +23,17 @@ shell: gem list | egrep '^gist ' register: uninstall failed_when: "uninstall.rc != 1" - + - name: install a gem gem: name=gist state=present register: gem_result - name: verify module output properties - assert: - that: + assert: + that: - "'name' in gem_result" - - "'changed' in gem_result" - - "'state' in gem_result" + - "'changed' in gem_result" + - "'state' in gem_result" - name: verify gist is installed - shell: gem list | egrep '^gist ' - + shell: gem list | egrep '^gist ' |