Skip to content

Commit 94b525c

Browse files
davidstosiksds
authored andcommitted
Use should pass instead of should_not fail_hook
1 parent 5afeb80 commit 94b525c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/overcommit/hook/pre_commit/file_size_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
context 'when a small file is committed' do
4141
let(:contents) { 'short' }
4242

43-
it { should_not fail_hook }
43+
it { should pass }
4444
end
4545

4646
context 'when a file is removed' do

0 commit comments

Comments
 (0)