How to determine if a radio button is checked already

checkedcucumberradio-buttonwebrat

I'm using webrat with cucumber and I would like to test if a radio button is checked already when I am on a page.
How can I do that ? I didn't find any step in webrat which can do that.

Best Answer

expect(find_field("radio_button_name")).to be_checked