There are several ways to do this. It is probably best to use the name or id radio button:
form.radiobutton_with(:name => /b/).check
You can also do something like this:
form.radiobuttons.first.check
This is more eloquent, but is likely to break (if, for example, you change the design of your form).
source share