spec/sparkey_spec.rb in sparkey-1.1.0 vs spec/sparkey_spec.rb in sparkey-1.2.0

- old
+ new

@@ -68,11 +68,15 @@ log_reader.close log_writer.close end - it "builds a log filename from a hash filename" do + it "builds a log filename from an index filename" do Sparkey.build_log_filename("sparkey.spi").must_equal("sparkey.spl") + end + + it "builds an index filename from a log filename" do + Sparkey.build_index_filename("sparkey.spl").must_equal("sparkey.spi") end it "iterates over the log file" do log_writer = Sparkey::LogWriter.new log_writer.create(@filename, :compression_none, 100)