Sha256: 24a50856753c4b36a0615638962fc67dadd484483973d5d8aa55939885aeca58
Contents?: true
Size: 403 Bytes
Versions: 2
Compression:
Stored size: 403 Bytes
Contents
module Ddr::Index RSpec.describe Queries do describe "module methods" do let(:obj) { FactoryGirl.create(:item) } describe ".id" do specify { expect(Queries.id(obj.pid).pids.to_a).to eq [obj.pid] } end describe ".object" do specify { expect(Queries.object(obj).pids.to_a).to eq [obj.pid] } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddr-models-2.4.0.rc4 | spec/index/queries_spec.rb |
ddr-models-2.4.0.rc3 | spec/index/queries_spec.rb |