lib/spreewald/web_steps.rb in spreewald-0.0.2 vs lib/spreewald/web_steps.rb in spreewald-0.0.3

- old
+ new

@@ -193,10 +193,10 @@ field_checked.should be_false end end end -Then /^the radio button "([^"]*)" should( not)? be (?:checked\|selected)$/ do |field, negate| +Then /^the radio button "([^"]*)" should( not)? be (?:checked|selected)$/ do |field, negate| patiently do page.send((negate ? :has_no_checked_field? : :has_checked_field?), field) end end