Sha256: 323963962abde3302a1f2ef7287e57f8e24a330d728ac1dfa45815367dd52006

Contents?: true

Size: 489 Bytes

Versions: 19

Compression:

Stored size: 489 Bytes

Contents

require "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

19 entries across 19 versions & 2 rubygems

Version Path
redcar-0.13 plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.13.5dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.13.4dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.13.3dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.13.2dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.13.1dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-0.12.1 plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.13.0dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-0.12 plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.27dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.26dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.25dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.24dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.23dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.22dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.21dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.20dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.19dev plugins/application/spec/application/keymap/builder_spec.rb
redcar-dev-0.12.18dev plugins/application/spec/application/keymap/builder_spec.rb