blob: 8c211d1c63fe6dd868bcf6248bba88a5411fefa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'spec_helper'
describe Gitlab::Sentry do
describe '.context' do
it 'adds the locale to the tags' do
expect(described_class).to receive(:enabled?).and_return(true)
described_class.context(nil)
expect(Raven.tags_context[:locale]).to eq(I18n.locale.to_s)
end
end
end
|