Sha256: 136bc8072ab4e352f4b73b8a20912fcf3179d6c94149c0afd7287ee3ae8b7d47
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe GithubCLI::Commands::Merging do let(:format) { {'format' => 'table'} } let(:user) { 'peter-murach' } let(:repo) { 'github_cli' } let(:id) { 1 } let(:api_class) { GithubCLI::Merging } it "invokes merge:perform" do api_class.should_receive(:merge).with(user, repo, {'base'=>'master', 'head'=>'feature'}, format) subject.invoke "merge:perform", [user, repo], :base => 'master', :head => 'feature' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.6.2 | spec/github_cli/commands/merging_spec.rb |
github_cli-0.6.1 | spec/github_cli/commands/merging_spec.rb |
github_cli-0.6.0 | spec/github_cli/commands/merging_spec.rb |