Upgrade to newest Sentry
This commit is contained in:
@ -166,7 +166,7 @@ describe InternalUsersController do
|
||||
describe 'GET #forgot_password' do
|
||||
context 'when no user is logged in' do
|
||||
before(:each) do
|
||||
allow(controller).to receive(:set_raven_context).and_return(nil)
|
||||
allow(controller).to receive(:set_sentry_context).and_return(nil)
|
||||
|
||||
expect(controller).to receive(:current_user).and_return(nil)
|
||||
get :forgot_password
|
||||
@ -178,7 +178,7 @@ describe InternalUsersController do
|
||||
|
||||
context 'when a user is already logged in' do
|
||||
before(:each) do
|
||||
allow(controller).to receive(:set_raven_context).and_return(nil)
|
||||
allow(controller).to receive(:set_sentry_context).and_return(nil)
|
||||
|
||||
expect(controller).to receive(:current_user).and_return(user)
|
||||
get :forgot_password
|
||||
|
Reference in New Issue
Block a user