We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd7aa39 commit ef693fbCopy full SHA for ef693fb
spec/overcommit/hook/commit_msg/text_width_spec.rb
@@ -6,7 +6,7 @@
6
subject { described_class.new(config, context) }
7
8
before do
9
- context.stub(:commit_message_lines).and_return(commit_msg.lines)
+ context.stub(:commit_message_lines).and_return(commit_msg.lines.to_a)
10
context.stub(:empty_message?).and_return(commit_msg.empty?)
11
end
12
0 commit comments