summaryrefslogtreecommitdiff
path: root/spec/services/bulk_create_integration_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/bulk_create_integration_service_spec.rb')
-rw-r--r--spec/services/bulk_create_integration_service_spec.rb2
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