module RSpec::Matchers
def with_select name, options={}, &block
def with_select name, options={}, &block options[:with] ||= {} id = options[:with].delete(:id) tag='select'; tag << '#'+id if id options[:with].merge!(:name => name) @__current_scope_for_nokogiri_matcher.should have_tag(tag, options, &block) end