diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-04 18:09:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-04 18:09:33 +0300 |
commit | bf6d126a58a66a11b2e4b9de89986174a1885105 (patch) | |
tree | bf2912b22073ed86969a56935d81cae0b73e710b /spec/workers/concerns | |
parent | 7928b47c8e06c1ac3f63d321a73dd527aea4e4c3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/concerns')
-rw-r--r-- | spec/workers/concerns/gitlab/github_import/object_importer_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/workers/concerns/gitlab/github_import/object_importer_spec.rb b/spec/workers/concerns/gitlab/github_import/object_importer_spec.rb index 4c048da723e..ece0c5053cb 100644 --- a/spec/workers/concerns/gitlab/github_import/object_importer_spec.rb +++ b/spec/workers/concerns/gitlab/github_import/object_importer_spec.rb @@ -195,4 +195,12 @@ RSpec.describe Gitlab::GithubImport::ObjectImporter, :aggregate_failures do end end end + + describe '#increment_object_counter?' do + let(:issue) { double(:issue, pull_request?: true) } + + it 'returns true' do + expect(worker).to be_increment_object_counter(issue) + end + end end |