summaryrefslogtreecommitdiff
path: root/spec/support/stub_configuration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/stub_configuration.rb')
-rw-r--r--spec/support/stub_configuration.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/stub_configuration.rb b/spec/support/stub_configuration.rb
index e4004ec8f79..ef3a120d44a 100644
--- a/spec/support/stub_configuration.rb
+++ b/spec/support/stub_configuration.rb
@@ -17,6 +17,10 @@ module StubConfiguration
allow(Gitlab.config.gravatar).to receive_messages(messages)
end
+ def stub_reply_by_email_setting(messages)
+ allow(Gitlab.config.reply_by_email).to receive_messages(messages)
+ end
+
private
# Modifies stubbed messages to also stub possible predicate versions