lib/polonium/dsl/selenium_dsl.rb in polonium-0.2.2 vs lib/polonium/dsl/selenium_dsl.rb in polonium-0.3.0
- old
+ new
@@ -24,11 +24,11 @@
page_assertion :title
page_assertion :text_present
page_assertion :text_not_present
page_assertion :location_ends_with
- deprecate :assert_location_ends_in, :assert_location_ends_with
+ polonium_deprecate :assert_location_ends_in, :assert_location_ends_with
element_assertion :value
element_assertion :selected
element_assertion :checked
element_assertion :not_checked
@@ -52,10 +52,10 @@
# Assert and wait for locator element to not contain text.
def assert_element_does_not_contain(locator, text, options={})
element(locator).assert_does_not_contain(text, options)
end
- deprecate :assert_element_does_not_contain_text, :assert_element_does_not_contain
+ polonium_deprecate :assert_element_does_not_contain_text, :assert_element_does_not_contain
# Does the element at locator contain the text?
def element_contains_text(locator, text)
element(locator).assert_contains(text)
end
\ No newline at end of file