Add data test for ping
This commit is contained in:
parent
b02ef611e3
commit
876da62f82
1 changed files with 10 additions and 0 deletions
|
@ -25,3 +25,13 @@
|
|||
that:
|
||||
- "result.changed == false"
|
||||
- "result.ping == 'pong'"
|
||||
|
||||
- name: ping with data
|
||||
ping: data="testing"
|
||||
register: result
|
||||
|
||||
- name: assert the ping worked with data
|
||||
assert:
|
||||
that:
|
||||
- "result.changed == false"
|
||||
- "result.ping == 'testing'"
|
||||
|
|
Loading…
Reference in a new issue