wet-boew/wet-boew — pull request #4485 by patheard (2014-02-06 00:38:56+00:00)
Title: Unit tests: fix tests that check className of elements

Makes sure the element has a `className` attribute before attempting `indexOf` call.

Fixes problem in #4483.