Sha256: a2425b158e759a9ca1416599356fd6da91d6cba7bf35c929b194f573b358e783

Contents?: true

Size: 414 Bytes

Versions: 5

Compression:

Stored size: 414 Bytes

Contents

require_relative "../spec_helper"
require "pupu/parser"

# TODO
describe Pupu::Parser do
  describe "plugin" do
    it "should return Plugin object" do
      plugin(:autocompleter)
    end

    it "should return Plugin object" do
      lambda { plugin(:autocompleter) }.should raise
    end

    it "should return nil if plugin do not exists" do
      plugin(:autocompleter, :request => "local")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pupu-0.0.3.pre spec/pupu/parser_spec.rb
pupu-0.0.2.pre spec/pupu/parser_spec.rb
pupu-0.0.2 spec/pupu/parser_spec.rb
pupu-0.1.pre spec/pupu/parser_spec.rb
pupu-0.0.1 spec/pupu/parser_spec.rb