spec/ruco/keyboard_spec.rb in ruco-0.1.7 vs spec/ruco/keyboard_spec.rb in ruco-0.1.8

- old
+ new

@@ -108,6 +108,12 @@ it "can return normal escape" do type [27] output.should == [:escape] end -end \ No newline at end of file + + it "can paste quickly" do + t = Time.now.to_f + type Array.new(999).map{ 27 } + (Time.now.to_f - t).should <= 0.01 + end +end