Instrument TruncateData logging start and end

This commit is contained in:
Pau Perez
2020-03-16 18:57:25 +01:00
parent 703706ee0b
commit 6ceeda7d9e
2 changed files with 18 additions and 9 deletions

View File

@@ -8,6 +8,7 @@ describe TruncateData do
allow(Spree::StateChange).to receive(:delete_all)
allow(Spree::LogEntry).to receive(:delete_all)
allow(TruncateData::Session).to receive(:delete_all)
allow(Rails.logger).to receive(:info)
end
context 'when months_to_keep is not specified' do