Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/gitlab/github_import/import_release_attachments_worker_spec.rb')
-rw-r--r--spec/workers/gitlab/github_import/import_release_attachments_worker_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/workers/gitlab/github_import/import_release_attachments_worker_spec.rb b/spec/workers/gitlab/github_import/import_release_attachments_worker_spec.rb
index f4f5353a9cf..62a9e3446f8 100644
--- a/spec/workers/gitlab/github_import/import_release_attachments_worker_spec.rb
+++ b/spec/workers/gitlab/github_import/import_release_attachments_worker_spec.rb
@@ -17,8 +17,10 @@ RSpec.describe Gitlab::GithubImport::ImportReleaseAttachmentsWorker, feature_cat
let(:release_hash) do
{
- 'release_db_id' => rand(100),
- 'description' => <<-TEXT
+ 'record_db_id' => rand(100),
+ 'record_type' => 'Release',
+ 'tag' => 'v1.0',
+ 'text' => <<-TEXT
Some text...
![special-image](https://user-images.githubusercontent.com...)