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/models/import_failure_spec.rb')
-rw-r--r--spec/models/import_failure_spec.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/models/import_failure_spec.rb b/spec/models/import_failure_spec.rb
index 0bdcb6dde31..4c22ed2e10f 100644
--- a/spec/models/import_failure_spec.rb
+++ b/spec/models/import_failure_spec.rb
@@ -56,7 +56,13 @@ RSpec.describe ImportFailure do
it { is_expected.not_to allow_value({ ids: [123] }).for(:external_identifiers) }
it 'allows up to 3 fields' do
- is_expected.not_to allow_value({ note_id: 234, noteable_id: 345, noteable_type: 'MergeRequest', extra_attribute: 'abc' }).for(:external_identifiers)
+ is_expected.not_to allow_value({
+ note_id: 234,
+ noteable_id: 345,
+ noteable_type: 'MergeRequest',
+ object_type: 'pull_request',
+ extra_attribute: 'abc'
+ }).for(:external_identifiers)
end
end
end