Commit 9369adb9 authored by Stan Hu's avatar Stan Hu

Fix Style/NonNilCheck cop violations

parent 52aa21b1
RSpec::Matchers.define :be_valid_commit do
match do |actual|
actual != nil
!actual.nil?
actual.id == ValidCommit::ID
actual.message == ValidCommit::MESSAGE
actual.author_name == ValidCommit::AUTHOR_FULL_NAME
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment