spec/win/gui/input_spec.rb in win-0.1.9 vs spec/win/gui/input_spec.rb in win-0.1.11

- old
+ new

@@ -3,13 +3,13 @@ #require 'win/gui/window' module WinWindowTest include WinTestApp - include Win::Gui::Input + include Win::GUI::Input - describe Win::Gui::Input do + describe Win::GUI::Input do describe '#keydb_event' do spec{ use{ keybd_event(vkey = 0, bscan = 0, flags = 0, extra_info = 0) }} it 'synthesizes a numeric keystrokes, emulating keyboard driver' do @@ -36,10 +36,10 @@ spec { use {success = set_cursor_pos(x=0, y=0)}} it 'how to test set_cursor_pos?' end end - describe Win::Gui::Input, ' defines convenience/service methods on top of Windows API' do + describe Win::GUI::Input, ' defines convenience/service methods on top of Windows API' do describe '#keystroke' do spec{ use{ keystroke( vkey = 30, vkey = 30) }} it 'emulates combinations of keys pressed (Ctrl+Alt+P+M, etc)' do test_app do |app|