spec/acceptance/excerpts_spec.rb in thinking-sphinx-3.1.3 vs spec/acceptance/excerpts_spec.rb in thinking-sphinx-3.1.4

- old
+ new

@@ -21,10 +21,10 @@ search = Book.search 'миръ' search.context[:panes] << ThinkingSphinx::Panes::ExcerptsPane search.first.excerpts.title. should == 'Война и <span class="match">миръ</span>' - end + end if ENV['SPHINX_VERSION'].try :[], /2.2.\d/ it "does not include class names in excerpts" do Book.create! :title => 'The Graveyard Book' index