spec/supernova/solr_indexer_spec.rb in supernova-0.6.0 vs spec/supernova/solr_indexer_spec.rb in supernova-0.6.1

- old
+ new

@@ -798,9 +798,15 @@ fqs.should include("description_t:[* TO *]") fqs.should include("title_t:[* TO *]") end end + describe "#suffix_from_type" do + it "returns the correct field for string_array" do + Supernova::SolrIndexer.suffix_from_type(:string_array).should == :ms + end + end + describe "#solr_field_for_field_name_and_mapping" do let(:mapping) do { :artist_name => { :type => :string }, :artist_id => { :type => :integer },