Skip to content

Rails 5: fix issue move service

What does this MR do?

For rails 5, attributes method returns the value instead of the database integer. Added bulk_insert_attributes that changes the enum value to an integer for bulk inserting.

Fixes spec/services/issues/move_service_spec.rb:126

see: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/95854619 and https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/95855129.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Merge request reports

Loading