lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.9.152 vs lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.9.153

- old
+ new

@@ -41,9 +41,10 @@ uia_type_string code else raise "Char #{chr} is not yet supported in iOS7" end end + res = {'results' => []} else res = http({:method => :post, :path => 'keyboard'}, {:key => chr, :events => load_playback_data("touch_done")}) res = JSON.parse(res) if res['outcome'] != 'SUCCESS'