Removed stale methods from DSL: drag (-> Element#drag_to), locate (-> find), click (-> click_on)

This commit is contained in:
Jo Liss 2011-03-18 16:21:33 +01:00
parent a0e5811ad1
commit 549e67336c
1 changed files with 3 additions and 3 deletions

View File

@ -28,11 +28,11 @@ module Capybara
class Session
DSL_METHODS = [
:all, :first, :attach_file, :body, :html, :text, :check, :choose, :click_link_or_button, :click_button, :click_link, :current_url, :current_host,
:drag, :evaluate_script, :field_labeled, :fill_in, :find, :find_button, :find_by_id, :find_field, :find_link, :has_content?, :has_css?,
:has_no_content?, :has_no_css?, :has_no_xpath?, :has_xpath?, :locate, :save_page, :save_and_open_page, :select, :source, :uncheck,
:evaluate_script, :field_labeled, :fill_in, :find, :find_button, :find_by_id, :find_field, :find_link, :has_content?, :has_css?,
:has_no_content?, :has_no_css?, :has_no_xpath?, :has_xpath?, :save_page, :save_and_open_page, :select, :source, :uncheck,
:visit, :wait_until, :within, :within_fieldset, :within_table, :within_frame, :within_window, :has_link?, :has_no_link?, :has_button?,
:has_no_button?, :has_field?, :has_no_field?, :has_checked_field?, :has_unchecked_field?, :has_no_table?, :has_table?,
:unselect, :has_select?, :has_no_select?, :current_path, :click, :has_selector?, :has_no_selector?, :click_on
:unselect, :has_select?, :has_no_select?, :current_path, :has_selector?, :has_no_selector?, :click_on
]
attr_reader :mode, :app