lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.20.4 vs lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.20.5
- old
+ new
@@ -210,11 +210,11 @@
end
query_result = _query_wrapper(query, :keyboardType).first
keyboard_type = KEYBOARD_TYPES[query_result]
- if !keyboard_type
+ if !keyboard_type
RunLoop.log_debug("Found query_result:#{query_result}, but expected
to match key in #{KEYBOARD_TYPES}")
keyboard_type = :unknown
end
@@ -225,10 +225,10 @@
# TODO Remove in 0.21.0
alias_method :_text_from_first_responder, :text_from_first_responder
private
- # @!visbility private
+ # @!visibility private
KEYBOARD_TYPES = {
0 => :default,
1 => :ascii_capable,
2 => :numbers_and_punctuation,
3 => :url,