diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-28 09:09:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-28 09:09:12 +0300 |
commit | 0108f676d2d00963b9be64fe3a1b9ff94e9ee6fb (patch) | |
tree | f8819c4973dc44d56312403f5ab5576fb96e4c04 /spec/services/bulk_create_integration_service_spec.rb | |
parent | 5a80b10a845c1df6d73804090265a3da67c6acc4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/bulk_create_integration_service_spec.rb')
-rw-r--r-- | spec/services/bulk_create_integration_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/bulk_create_integration_service_spec.rb b/spec/services/bulk_create_integration_service_spec.rb index 3ac993972c6..479309572a5 100644 --- a/spec/services/bulk_create_integration_service_spec.rb +++ b/spec/services/bulk_create_integration_service_spec.rb @@ -30,7 +30,7 @@ RSpec.describe BulkCreateIntegrationService do described_class.new(integration, batch, association).execute expect(created_integration.reload.data_fields.attributes.except(*excluded_attributes)) - .to eq(integration.data_fields.attributes.except(*excluded_attributes)) + .to eq(integration.reload.data_fields.attributes.except(*excluded_attributes)) end end end |