The example provided doesn't give the same response
Closed this issue · 4 comments
jverdeyen commented
I tried the example but only got the correct response code test.
> http://google.com/
[ OK ] 2xx Response code
File content:
#!/bin/bash
. smoke.sh
smoke_url_ok "http://google.com/"
smoke_assert_body "search"
System: Linux 3.8.0-19-generic #30-Ubuntu (Ubuntu 13.04 raring)
Any idea?
asm89 commented
@jverdeyen I just pushed 1f774e0. It should fix your issue. Can you confirm? :)
asm89 commented
The example was also missing an ending smoke_report
. Fixed now.
jverdeyen commented
@asm89 Superbe!
> http://google.com/
[ OK ] 2xx Response code
[ OK ] Body contains "search"
OK (2/2)
That fixed the issue! Thanks!
Good idea, I've put this in Jenkins :)
asm89 commented
👍 Cool. Let me know how it works out. :)