Skip to content

Commit

Permalink
Fix failure check
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Mar 16, 2015
1 parent 419d7b2 commit b3ea9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/saucelabs-result
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ warn test['url']
warn test['platform']
warn test['result'].inspect

if test['result'] && test['result']['passed'] == test['result']['total']
if test['result'] && test['result']['passes'] == test['result']['tests']
exit 0
else
exit 1
Expand Down

0 comments on commit b3ea9d3

Please sign in to comment.