Sha256: 914464087934fad5f8347c021aa0c5e2ecb95bb12ef14d279d346752ae4c609b
Contents?: true
Size: 407 Bytes
Versions: 11
Compression:
Stored size: 407 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) { should match /git push origin #{command.current_branch}/ } describe "command-line command" do subject { `bin/git-push-branch --debug` } it { should match /git push origin/ } end end
Version data entries
11 entries across 11 versions & 1 rubygems