diff options
Diffstat (limited to 'spec/lib/gitlab/email/message')
-rw-r--r-- | spec/lib/gitlab/email/message/repository_push_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/email/message/repository_push_spec.rb b/spec/lib/gitlab/email/message/repository_push_spec.rb index 6b1f03e0385..f13d98ec9b9 100644 --- a/spec/lib/gitlab/email/message/repository_push_spec.rb +++ b/spec/lib/gitlab/email/message/repository_push_spec.rb @@ -64,7 +64,7 @@ RSpec.describe Gitlab::Email::Message::RepositoryPush do describe '#commits' do subject { message.commits } - it { is_expected.to be_kind_of Array } + it { is_expected.to be_kind_of CommitCollection } it { is_expected.to all(be_instance_of Commit) } end |