Sha256: 9da9a2637a723f63627244b1b156e537ad66b34d151ee2ecd10c6bb8436c3a82

Contents?: true

Size: 409 Bytes

Versions: 11

Compression:

Stored size: 409 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

11 entries across 11 versions & 1 rubygems

Version Path
frank-cucumber-0.9.5.pre4 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.9.5.pre3 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.9.5.pre2 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.9.5.pre1 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.9.4 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.9.3 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.9.1 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.9.0 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.8.17 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.8.16 lib/frank-cucumber/keyboard_helper.rb
frank-cucumber-0.8.15 lib/frank-cucumber/keyboard_helper.rb