Sha256: c1d65bef5e3a8153d7056fc7e3e8ecf8eda4092def84d4e8d1126b7fe9b9be0e

Contents?: true

Size: 663 Bytes

Versions: 6

Compression:

Stored size: 663 Bytes

Contents

require 'pione/test-helper'
require 'pione/util/completion'

describe Pione::Util::BashCompletion do
  it "should compile bash completion file" do
    source = Global.project_root + "misc" + "pione-completion.erb"
    target = Location[Temppath.create]
    Util::BashCompletion.compile(source, target)
    target.should.exist
    target.size.should > 0
  end
end

describe Pione::Util::ZshCompletion do
  it "should compile zsh completion file" do
    source = Global.project_root + "misc" + "pione-completion.erb"
    target = Location[Temppath.create]
    Util::ZshCompletion.compile(source, target)
    target.should.exist
    target.size.should > 0
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pione-0.5.0 test/util/spec_completion.rb
pione-0.5.0.alpha.2 test/util/spec_completion.rb
pione-0.5.0.alpha.1 test/util/spec_completion.rb
pione-0.4.2 test/util/spec_completion.rb
pione-0.4.1 test/util/spec_completion.rb
pione-0.4.0 test/util/spec_completion.rb