lib/webrat/core/locators/locator.rb in diabolo-webrat-0.4.2 vs lib/webrat/core/locators/locator.rb in diabolo-webrat-0.4.3
- old
+ new
@@ -1,20 +1,20 @@
module Webrat
module Locators
-
+
class Locator # :nodoc:
def initialize(session, dom, value, *field_types)
@session = session
@dom = dom
@value = value
@field_types = field_types
end
-
+
def locate!
locate || raise(NotFoundError.new(error_message))
end
-
+
end
-
+
end
-end
\ No newline at end of file
+end