Sha256: 0960ea8e6829410891324849d119454b3b94961b25cfc0a0b5de73067b806c38

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

require_relative "../spec_helper"
require "pupu/github"

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

    it "should return Plugin object" do
      lambda { plugin(:autocompleter) }.should raise_error
    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/github_spec.rb
pupu-0.0.2.pre spec/pupu/github_spec.rb
pupu-0.0.2 spec/pupu/github_spec.rb
pupu-0.1.pre spec/pupu/github_spec.rb
pupu-0.0.1 spec/pupu/github_spec.rb