# File lib/capybara/node/actions.rb, line 48 def fill_in(locator, options={}) raise "Must pass a hash containing 'with'" if not options.is_a?(Hash) or not options.has_key?(:with) find(:fillable_field, locator).set(options[:with]) end