Sha256: 7bea4f460f19aa43b0140874825a349b13f35e0fb5d0c15134fdee892ec356c8
Contents?: true
Size: 188 Bytes
Versions: 2
Compression:
Stored size: 188 Bytes
Contents
# frozen_string_literal: true class FakeAuthority def initialize(map) @map = map end def all @map end def find(id) @map.detect { |item| item[:id] == id } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyrax-5.0.0 | spec/support/fakes/fake_authority.rb |
hyrax-5.0.0.rc3 | spec/support/fakes/fake_authority.rb |