QA: refactor for consistent Ruby practice

* use symbols not strings for element labels
* use double quotes except where single quotes required

Change-Id: I4eef50206c526611da535e529035c076d5bce266
Merge "QA: refactor for consistent Ruby practice"