Sha256: 1ef54293c227d9c7e7b5cd481646cd967bfc95338c1724a19a15a0818e960d0a
Contents?: true
Size: 446 Bytes
Versions: 18
Compression:
Stored size: 446 Bytes
Contents
require 'spec_helper' describe PushBranch do let(:command) { PushBranch.new(['remote_branch']) } before do command.stub(:current_branch).and_return('test-br') end subject { command } its(:cmd) do should match /git push --set-upstream origin #{command.current_branch}/ end describe "command-line command" do subject { `bin/git-push-branch --debug` } it { should match /git push --set-upstream origin/ } end end
Version data entries
18 entries across 18 versions & 1 rubygems