lib/furter/accessors/text.rb in furter-0.0.3.2 vs lib/furter/accessors/text.rb in furter-0.0.3.3

- old
+ new

@@ -12,16 +12,16 @@ frankly_map(selector, "setText:", text) frankly_map(selector, "endEditing:", true) end def has_text?(text) - element_exists "view marked:'#{text}'" + element_exists "view marked:\"#{text}\"" end private def selector - return "textField placeholder:'#{@locator[:placeholder]}'" if @locator[:placeholder] - return "textField marked:'#{@locator[:label]}'" if @locator[:label] + return "textField placeholder:\"#{@locator[:placeholder]}\"" if @locator[:placeholder] + return "textField marked:\"#{@locator[:label]}\"" if @locator[:label] end end end end