diff options
Diffstat (limited to 'spec/support/shared_contexts/services_shared_context.rb')
-rw-r--r-- | spec/support/shared_contexts/services_shared_context.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/shared_contexts/services_shared_context.rb b/spec/support/shared_contexts/services_shared_context.rb index bf4eac8f324..899b43ade01 100644 --- a/spec/support/shared_contexts/services_shared_context.rb +++ b/spec/support/shared_contexts/services_shared_context.rb @@ -12,6 +12,8 @@ Service.available_services_names.each do |service| service_attrs_list.inject({}) do |hash, k| if k =~ /^(token*|.*_token|.*_key)/ hash.merge!(k => 'secrettoken') + elsif service == 'confluence' && k == :confluence_url + hash.merge!(k => 'https://example.atlassian.net/wiki') elsif k =~ /^(.*_url|url|webhook)/ hash.merge!(k => "http://example.com") elsif service_klass.method_defined?("#{k}?") |