Sha256: 34e384e960c4328d226cda59a93cf3e5c6db7601bf1fc63a126080795571be3d

Contents?: true

Size: 511 Bytes

Versions: 28

Compression:

Stored size: 511 Bytes

Contents

describe Lita::Handlers::GithubPrList, lita_handler: true do
  before :each do
    Lita.config.handlers.github_pr_list.github_organization = 'aaaaaabbbbbbcccccc'
    Lita.config.handlers.github_pr_list.github_access_token = 'wafflesausages111111'
  end

  it "maps the github name to the hipchat username (mention)" do
    send_command("pr alias user mcwaffle mcrib")

    expect(replies.last).to include("Mapped mcwaffle to mcrib")
    expect(subject.redis.get("alias:mcwaffle")).to include("mcrib")
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
lita-github_pr_list-0.3.2 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.3.1 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.3.0 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.2.2 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.2.1 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.2.0 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.1.3 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.1.2 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.1.1 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.1.0 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.21 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.20 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.19 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.16 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.15 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.14 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.13 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.12 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.11 spec/lita/handlers/alias_spec.rb
lita-github_pr_list-0.0.10 spec/lita/handlers/alias_spec.rb