Sha256: d418f5e797d28858f0586502bcfe04032f9987e2e24270f90b7260b1a37e54aa
Contents?: true
Size: 536 Bytes
Versions: 17
Compression:
Stored size: 536 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", :OpenNewEditTabCommand end builder.keymap.length.should == 1 builder.keymap.command("Ctrl+S") end end
Version data entries
17 entries across 17 versions & 2 rubygems