Sentry should send environment information
This commit is contained in:
parent
697eefc7a0
commit
b9be186d2c
6 changed files with 16 additions and 19 deletions
|
@ -34,7 +34,7 @@ describe ApplicationController, type: :controller do
|
|||
context 'when no one is logged in' do
|
||||
it do
|
||||
expect(Raven).to have_received(:user_context)
|
||||
.with({ ip_address: '0.0.0.0', roles: 'Guest' })
|
||||
.with({ role: 'Guest' })
|
||||
end
|
||||
|
||||
it do
|
||||
|
@ -53,7 +53,7 @@ describe ApplicationController, type: :controller do
|
|||
|
||||
it do
|
||||
expect(Raven).to have_received(:user_context)
|
||||
.with({ ip_address: '0.0.0.0', email: current_user.email, id: current_user.id, roles: 'User' })
|
||||
.with({ id: current_user.id, role: 'User' })
|
||||
end
|
||||
|
||||
it do
|
||||
|
@ -77,7 +77,7 @@ describe ApplicationController, type: :controller do
|
|||
|
||||
it do
|
||||
expect(Raven).to have_received(:user_context)
|
||||
.with({ ip_address: '0.0.0.0', email: current_user.email, id: current_user.id, roles: 'User, Gestionnaire, Administrateur, Administration' })
|
||||
.with({ id: current_user.id, role: 'User' })
|
||||
end
|
||||
|
||||
it do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue