Send browser support information and format user id
This commit is contained in:
parent
8e6e730c80
commit
4fb889f10a
3 changed files with 7 additions and 5 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({ role: 'Guest' })
|
||||
.with({ id: 'Guest' })
|
||||
end
|
||||
|
||||
it do
|
||||
|
@ -53,7 +53,7 @@ describe ApplicationController, type: :controller do
|
|||
|
||||
it do
|
||||
expect(Raven).to have_received(:user_context)
|
||||
.with({ id: current_user.id, role: 'User' })
|
||||
.with({ id: "User##{current_user.id}" })
|
||||
end
|
||||
|
||||
it do
|
||||
|
@ -77,7 +77,7 @@ describe ApplicationController, type: :controller do
|
|||
|
||||
it do
|
||||
expect(Raven).to have_received(:user_context)
|
||||
.with({ id: current_user.id, role: 'User' })
|
||||
.with({ id: "User##{current_user.id}" })
|
||||
end
|
||||
|
||||
it do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue