Sha256: 7fd96036bc325ab9989b4b52d53632e5f6346c65a0625af3899b0f52f63af3d8
Contents?: true
Size: 489 Bytes
Versions: 54
Compression:
Stored size: 489 Bytes
Contents
require 'spec_helper' describe ActiveFedora::Querying do before do class SpecModel < ActiveFedora::Base end end after do Object.send(:remove_const, :SpecModel) end describe '.solr_query_handler' do subject { SpecModel.solr_query_handler } it { is_expected.to eq 'standard' } context "when setting to something besides the default" do before { SpecModel.solr_query_handler = 'search' } it { is_expected.to eq 'search' } end end end
Version data entries
54 entries across 54 versions & 1 rubygems