spec/ruco/keyboard_spec.rb in ruco-0.2.15 vs spec/ruco/keyboard_spec.rb in ruco-0.2.16

- old
+ new

@@ -99,9 +99,19 @@ it "recognises escape sequence for Shift+up" do type [27, 91, 49, 59, 50, 65] output.should == [:"Shift+up"] end + it "recognises escape sequence for mac iterm Ctrl+Shift+right" do + type [27, 91, 67] + output.should == [:"Ctrl+Shift+right"] + end + + it "recognises escape sequence for mac iterm Ctrl+Shift+left" do + type [27, 27, 91, 68] + output.should == [:"Ctrl+Shift+left"] + end + if RUBY_VERSION > '1.9.0' it "can handle strings from 1.9" do type ['a'] output.should == ["a"] end