Skip to content

create_created_plan_service_spec should ignore array ordering - #2372

Merged
briri merged 1 commit into
DMPRoadmap:developmentfrom
DigitalCurationCentre:bug/create_plan_service_spec
Jan 29, 2020
Merged

create_created_plan_service_spec should ignore array ordering#2372
briri merged 1 commit into
DMPRoadmap:developmentfrom
DigitalCurationCentre:bug/create_plan_service_spec

Conversation

@xsrust

@xsrust xsrust commented Jan 29, 2020

Copy link
Copy Markdown
Contributor

We were experiencing random issues with this test failing on Travis.
It looks like the problem is that we were matching an array of array of hashes, which it considered a singleton array. By matching on the array of hashes directly, we can avoid this problem.

Most of the noise In the PR has been created by running rubocop.

@briri briri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for addressing this @xsrust

@briri
briri merged commit 737fe50 into DMPRoadmap:development Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants