diff options
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/matchers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb index f8cce2ea5a3..5f0c270f967 100644 --- a/spec/support/matchers.rb +++ b/spec/support/matchers.rb @@ -1,6 +1,6 @@ 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 |