spec/configuration/compressor/lzma_spec.rb in backup-3.0.20 vs spec/configuration/compressor/lzma_spec.rb in backup-3.0.21
- old
+ new
@@ -7,9 +7,10 @@
Backup::Configuration::Compressor::Lzma.defaults do |compressor|
compressor.best = true
compressor.fast = true
end
end
+ after { Backup::Configuration::Compressor::Lzma.clear_defaults! }
it 'should set the default compressor configuration' do
compressor = Backup::Configuration::Compressor::Lzma
compressor.best.should == true
compressor.fast.should == true