Skip to content

Commit 72e5a92

Browse files
committed
Run ProtectedBranches integration test on Git 2+
The tests fail on Git 1.8, but it's not worth the effort to debug at this point in time. Should someone complain in the future, we can investigate further.
1 parent bba6c3b commit 72e5a92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/integration/protected_branches_spec.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require 'spec_helper'
22

3-
describe Overcommit::Hook::PrePush::ProtectedBranches do
3+
describe Overcommit::Hook::PrePush::ProtectedBranches,
4+
if: Overcommit::GIT_VERSION >= '2.0' do
45
let(:flags) { '' }
56
let(:pushed_ref) { remote_ref }
67
subject do

0 commit comments

Comments
 (0)