Skip to content

Commit

Permalink
Adjust test for changes in curation_concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Sep 12, 2016
1 parent 78dc846 commit 382fdda
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -6,7 +6,10 @@
current_ability: ability) }
let(:builder) { described_class.new(context) }
describe "#query" do
before do
expect(builder).to receive(:find_one)
end
subject { builder.with(id: '123').query.fetch('fq') }
it { is_expected.to match_array ["", "{!terms f=has_model_ssim}AdminSet", "_query_:\"{!field f=id}123\""] }
it { is_expected.to match_array ["", "{!terms f=has_model_ssim}AdminSet"] }
end
end

0 comments on commit 382fdda

Please sign in to comment.