Skip to content

Commit

Permalink
Ensuring that the resource with ordered properties for the shared spe…
Browse files Browse the repository at this point in the history
…c is loaded from the query service
  • Loading branch information
jrgriffiniii committed Aug 7, 2018
1 parent 274265e commit b133edd
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -18,5 +18,8 @@ class CustomResource < Valkyrie::Resource
resource.authors = ["a", "b", "a"]
output = persister.save(resource: resource)
expect(output.authors).to eq ["a", "b", "a"]

reloaded = query_service.find_by(id: output.id)
expect(reloaded.authors).to eq ["a", "b", "a"]
end
end

0 comments on commit b133edd

Please sign in to comment.