spec/models/validation_report_spec.rb in krikri-0.7.2 vs spec/models/validation_report_spec.rb in krikri-0.7.3
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Krikri::ValidationReport do
- describe `#all` do
+ describe '#all' do
it 'returns facet for each required field' do
count = described_class::REQUIRED_FIELDS.count
facet_field_const = Blacklight::SolrResponse::Facets::FacetField
fields = Array.new(count, an_instance_of(facet_field_const))
@@ -21,10 +21,10 @@
expect(hits).to eq 1
end
end
end
- describe `#find` do
+ describe '#find' do
it 'gives a blacklight solr response' do
expect(subject.find('sourceResource_title'))
.to be_a Blacklight::SolrResponse
end