Sha256: 65bd4413d378e98091251db3fffee5da27c97f325d5da647532826822ac1a6b6
Contents?: true
Size: 560 Bytes
Versions: 3
Compression:
Stored size: 560 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe GithubCLI::Commands::Assignees do let(:format) { {'format' => 'table'} } let(:user) { 'peter-murach' } let(:repo) { 'github_cli' } let(:api_class) { GithubCLI::Assignee } it "invokes assignee:list" do api_class.should_receive(:all).with(user, repo, {}, format) subject.invoke "assignee:list", [user, repo] end it "invokes assignee:check" do api_class.should_receive(:check).with(user, repo, 'git', {}, format) subject.invoke "assignee:check", [user, repo, 'git'] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.6.2 | spec/github_cli/commands/assignees_spec.rb |
github_cli-0.6.1 | spec/github_cli/commands/assignees_spec.rb |
github_cli-0.6.0 | spec/github_cli/commands/assignees_spec.rb |