spec/controllers/blacklight/search_fields_spec.rb in blacklight-7.11.1 vs spec/controllers/blacklight/search_fields_spec.rb in blacklight-7.12.0
- old
+ new
@@ -1,7 +1,9 @@
# frozen_string_literal: true
RSpec.describe Blacklight::SearchFields do
+ around { |test| Deprecation.silence(described_class) { test.call } }
+
class MockConfig
include Blacklight::SearchFields
end
before(:all) do