diff --git a/lib/webrat/core/locators.rb b/lib/webrat/core/locators.rb index 16bab18..2191b1a 100644 --- a/lib/webrat/core/locators.rb +++ b/lib/webrat/core/locators.rb @@ -1,5 +1,3 @@ -require "webrat/core_extensions/detect_mapped" - require "webrat/core/locators/area_locator" require "webrat/core/locators/button_locator" require "webrat/core/locators/field_labeled_locator" diff --git a/lib/webrat/core/locators/field_labeled_locator.rb b/lib/webrat/core/locators/field_labeled_locator.rb index 738e096..7c0987e 100644 --- a/lib/webrat/core/locators/field_labeled_locator.rb +++ b/lib/webrat/core/locators/field_labeled_locator.rb @@ -1,3 +1,4 @@ +require "webrat/core_extensions/detect_mapped" require "webrat/core/locators/locator" module Webrat diff --git a/lib/webrat/core/locators/label_locator.rb b/lib/webrat/core/locators/label_locator.rb index 24b0835..f231449 100644 --- a/lib/webrat/core/locators/label_locator.rb +++ b/lib/webrat/core/locators/label_locator.rb @@ -1,3 +1,4 @@ +require "webrat/core_extensions/detect_mapped" require "webrat/core/locators/locator" module Webrat diff --git a/lib/webrat/core/locators/select_option_locator.rb b/lib/webrat/core/locators/select_option_locator.rb index 63fdfc4..f74ab12 100644 --- a/lib/webrat/core/locators/select_option_locator.rb +++ b/lib/webrat/core/locators/select_option_locator.rb @@ -1,3 +1,4 @@ +require "webrat/core_extensions/detect_mapped" require "webrat/core/locators/locator" module Webrat