mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Reduce deprecation warnings
This commit is contained in:
parent
42e0b58161
commit
f062f7f4ee
5 changed files with 29 additions and 62 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue