Sha256: f83b181b431763af82d618f44e056ea7f73e784932d4da812d12c5b376dabb43
Contents?: true
Size: 461 Bytes
Versions: 18
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' describe Sync do let(:command) { Sync.new } before do command.stub(:current_branch).and_return('test-br') end subject { command } its(:cmd) { should match /git checkout master/ } its(:cmd) { should match /git pull/ } its(:cmd) { should match /git checkout #{command.current_branch}/ } describe "command-line command" do subject { `bin/git-sync --debug` } it { should match /git checkout master/ } end end
Version data entries
18 entries across 18 versions & 1 rubygems