spec/configuration/storage/ftp_spec.rb in backup-3.0.20 vs spec/configuration/storage/ftp_spec.rb in backup-3.0.21
- old
+ new
@@ -12,9 +12,10 @@
ftp.path = 'my_backups'
ftp.keep = 20
ftp.passive_mode = false
end
end
+ after { Backup::Configuration::Storage::FTP.clear_defaults! }
it 'should set the default ftp configuration' do
ftp = Backup::Configuration::Storage::FTP
ftp.username.should == 'my_username'
ftp.password.should == 'my_password'