The default web steps provided by cucumber provide a way to check the content of a text field :
the "..." field should contain "...", but how to check if the date selected by default in a form is correct ?
To describe some of the features of the coming PigeBox web interface, we needed something like :
the "..." datetime should contain "17:00:00".
With this small webrat extension, the following step becomes possible :