Sha256: 5a382d7b0dcefc90bb4dc517e4150e4536cc11cc1ca4b9358d9cc4c03a021698
Contents?: true
Size: 396 Bytes
Versions: 2
Compression:
Stored size: 396 Bytes
Contents
# frozen_string_literal: true module Hyrax::Matchers class MatchValkyrieIdsWithActiveFedoraIds < RSpec::Matchers::BuiltIn::ContainExactly def match_when_sorted? values_match?(safe_sort(expected), safe_sort(actual.map(&:id))) end end def match_valkyrie_ids_with_active_fedora_ids(expected_fedora_ids) MatchValkyrieIdsWithActiveFedoraIds.new(expected_fedora_ids) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyrax-5.0.0 | spec/support/matchers/match_valkyrie_ids_with_af_ids.rb |
hyrax-5.0.0.rc3 | spec/support/matchers/match_valkyrie_ids_with_af_ids.rb |