Reduce deprecation warnings

This commit is contained in:
James Mason 2018-03-01 19:00:41 -08:00 committed by Henne Vogelsang
parent 42e0b58161
commit f062f7f4ee
5 changed files with 29 additions and 62 deletions

View file

@ -27,5 +27,5 @@ def stub_env_for_omniauth
}
)
request.env['omniauth.auth'] = env
@controller.stub(:env).and_return(env)
allow(@controller).to receive(:env).and_return(env)
end