geb/geb — pull request #36 by aiten (2013-04-12 16:36:02+00:00)
Title: Make tests easier to read

We have a lot of tests which result in javascript making things enabled and disabled. Rather than:

then:
!button.disabled

when:
xyz

then:
button.disabled

when:
abc

then:
!button.disabled
button1.disabled

I have added the method .enabled onto the navigator to allow more readable tests.

I have also done the same thing for readOnly (editable) to maintain consistency.