Commit c8b11b0c authored by Douwe Maan's avatar Douwe Maan Committed by Bob Van Landuyt

Add stub_omniauth_setting

parent 9c972754
...@@ -25,6 +25,10 @@ module StubConfiguration ...@@ -25,6 +25,10 @@ module StubConfiguration
allow(Gitlab.config.mattermost).to receive_messages(messages) allow(Gitlab.config.mattermost).to receive_messages(messages)
end end
def stub_omniauth_setting(messages)
allow(Gitlab.config.omniauth).to receive_messages(messages)
end
private private
# Modifies stubbed messages to also stub possible predicate versions # Modifies stubbed messages to also stub possible predicate versions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment