module RSpec::HtmlMatchers

def with_checkbox name, value=nil

def with_checkbox name, value=nil
  options = form_tag_options('checkbox',name,value)
  should_have_input(options)
end