spec/configuration/storage/s3_spec.rb in backup-3.0.20 vs spec/configuration/storage/s3_spec.rb in backup-3.0.21
- old
+ new
@@ -10,9 +10,10 @@
s3.region = 'us-east-1'
s3.bucket = 'my-bucket'
s3.path = 'my_backups'
end
end
+ after { Backup::Configuration::Storage::S3.clear_defaults! }
it 'should set the default S3 configuration' do
s3 = Backup::Configuration::Storage::S3
s3.access_key_id.should == 'my_access_key_id'
s3.secret_access_key.should == 'my_secret_access_key'