Sha256: a040605c0c91a3b20c13fb161f42cdb9e49c4d165cd323d0947cf9024d5c2f8c

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

require 'spec_helper'

describe SyncFork do

  let(:command) { SyncFork.new }
  subject { command }

  its(:cmd) { should match /git checkout master/ }
  its(:cmd) { should match /git fetch upstream/ }
  its(:cmd) { should match /git merge upstream\/master/ }


  describe "command-line command" do
    subject { `bin/git-sync-fork --debug` }
    it { should match /git fetch upstream/ }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
git-utils-2.4.0 spec/commands/sync_fork_spec.rb
git-utils-2.3.0 spec/commands/sync_fork_spec.rb
git-utils-2.2.1 spec/commands/sync_fork_spec.rb
git-utils-2.2.0 spec/commands/sync_fork_spec.rb
git-utils-2.1.0 spec/commands/sync_fork_spec.rb