spec/spec_helper.rb in maltese-0.1.9 vs spec/spec_helper.rb in maltese-0.2
- old
+ new
@@ -90,6 +90,7 @@
c.configure_rspec_metadata!
c.filter_sensitive_data("<AWS_ACCESS_KEY_ID>") { ENV["AWS_ACCESS_KEY_ID"] }
c.filter_sensitive_data("<AWS_SECRET_ACCESS_KEY>") { ENV["AWS_SECRET_ACCESS_KEY"] }
c.filter_sensitive_data("<FOG_DIRECTORY>") { ENV['FOG_DIRECTORY'] }
c.filter_sensitive_data("<FOG_REGION>") { ENV["FOG_REGION"] }
+ c.filter_sensitive_data('<ENCODED AUTH HEADER>') { Base64.strict_encode64("#{ENV.fetch('SOLR_USERNAME')}:#{ENV.fetch('SOLR_PASSWORD')}") }
end