# encoding: utf-8

require 'spec_helper'

describe GithubCLI::Commands::Merging do
  let(: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

Add specs for merge command.
Add specs for merge command.
