spec/lib/flare_up/emitter_spec.rb in flare-up-0.9 vs spec/lib/flare_up/emitter_spec.rb in flare-up-0.10
- old
+ new
@@ -43,16 +43,17 @@
before do
FlareUp::OptionStore.store_options({
:aws_access_key => 'access',
:aws_secret_key => 'secret',
:redshift_username => 'user',
- :redshift_password => 'pass'
+ :redshift_password => 'pass',
+ :redshift_port => '1234'
})
end
it 'should hide it' do
expect(FlareUp::Emitter.send(:sanitize, 'accesssecretuserpass')).to eq('REDACTEDREDACTEDREDACTEDREDACTED')
end
end
end
-end
\ No newline at end of file
+end