FIX: broken spec

This commit is contained in:
Sam 2014-02-26 10:52:11 +11:00
parent 50a8d3caae
commit 557af84ae2

View file

@ -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)