mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: broken spec
This commit is contained in:
parent
50a8d3caae
commit
557af84ae2
1 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,12 @@ describe SessionController do
|
|||
SiteSetting.stubs("enable_sso").returns(true)
|
||||
SiteSetting.stubs("sso_url").returns(@sso_url)
|
||||
SiteSetting.stubs("sso_secret").returns(@sso_secret)
|
||||
|
||||
# We have 2 options, either fabricate an admin or don't
|
||||
# send welcome messages
|
||||
Fabricate(:admin)
|
||||
# skip for now
|
||||
# SiteSetting.stubs("send_welcome_message").returns(false)
|
||||
end
|
||||
|
||||
def get_sso(return_path)
|
||||
|
|
Loading…
Reference in a new issue