Sha256: 3f5a0f5a4280ab2d2bf7e1c158764cb4370cef630df27b63b52cee401b8a5eb9
Contents?: true
Size: 452 Bytes
Versions: 11
Compression:
Stored size: 452 Bytes
Contents
require 'spec_helper' describe Switch do let(:command) { Switch.new(['other-branch']) } before do command.stub(:current_branch).and_return('test-br') command.stub(:other_branch).and_return('other-branch') end subject { command } its(:cmd) { should match /git checkout #{command.other_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