Sha256: 077423c270e30d2cfa439af037dea0e3ac31462230d181030ee64c6d25daef80
Contents?: true
Size: 525 Bytes
Versions: 39
Compression:
Stored size: 525 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "..", "spec_helper") describe "Redcar::Keymap::Builder DSL" do it "creates a keymap" do builder = Redcar::Keymap::Builder.new("test", :osx) {} builder.keymap.should be_an_instance_of(Redcar::Keymap) builder.keymap.length.should == 0 end it "add entries to the keymap" do builder = Redcar::Keymap::Builder.new("test", :osx) do link "Ctrl+S", :NewCommand end builder.keymap.length.should == 1 builder.keymap.command("Ctrl+S") end end
Version data entries
39 entries across 39 versions & 1 rubygems