Skip to content

Commit b8fca9a

Browse files
committedDec 15, 2018
add rubocop
1 parent ac0c226 commit b8fca9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎.overcommit.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
#
1616
# Uncomment the following lines to make the configuration take effect.
1717

18+
CommitMsg:
19+
CapitalizedSubject:
20+
enabled: false
1821
PrePush:
1922
Undercover:
2023
enabled: true

‎spec/cli_spec.rb

-2
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,11 @@
114114
Imagen.parser_version = v_default
115115
end
116116

117-
# rubocop:disable Metrics/AbcSize
118117
def stub_build
119118
lcov = double
120119
allow(File).to receive(:open) { lcov }
121120
allow(Undercover::LcovParser).to receive(:parse).with(lcov)
122121
allow_any_instance_of(Undercover::Report).to receive(:validate) { nil }
123122
allow_any_instance_of(Undercover::Report).to receive(:build) { |rep| rep }
124123
end
125-
# rubocop:enable Metrics/AbcSize
126124
end

0 commit comments

Comments
 (0)
Please sign in to comment.