title: Selecting a radio button with Rspec
body: <p>I'm currently writing a test for a form using RSpec, and I was wondering how I'd go about selecting a radio button, given the form below:</p>
  
  <pre><code>&lt;%=form_for(@whatever) do|f|%&gt;
  
           &lt;%=f.label :option, "TRUE" %&gt;
           &lt;%=f.radio_button :option, true %&gt;
           &lt;%=f.label :option, "FALSE" %&gt;
           &lt;%=f.radio_button :morning, false %&gt;
  
           &lt;%=f.submit "SAVE" %&gt;
        &lt;% end %&gt;
  </code></pre>
  
  <p>I want my test to look something like:</p>
  
  <pre><code>       describe "with valid options selected" do
  
            before do
              #CODE TO SELECT A RADIO BUTTON
              click_button "SAVE"
            end
  
          end
  </code></pre>