Sha256: 45868b0aee603be631fec44beeee7043c441fa9973e48322d8076c0d53c9022d

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

module Frank
module Cucumber

module KeyboardHelper
  def type_into_keyboard(text_to_type)
    text_to_type = text_to_type+"\n" unless text_to_type.end_with?("\n")
    res = frank_server.send_post( 
      'type_into_keyboard',
      :text_to_type => text_to_type,
    )
    Frank::Cucumber::Gateway.evaluate_frankly_response( res, "typing the following into the keyboard '#{text_to_type}'" )
  end
end
end end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
frank-cucumber-0.8.14 lib/frank-cucumber/keyboard_helper.rb