blob: b59339de622dfe2b7c237330bcf578aa925ae15b (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
RSpec::Matchers.define :be_valid_commit do
match do |actual|
actual &&
actual.id == SeedRepo::Commit::ID &&
actual.message == SeedRepo::Commit::MESSAGE &&
actual.author_name == SeedRepo::Commit::AUTHOR_FULL_NAME
end
end
|