summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-02-21 12:13:56 +0000
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-03-01 16:43:26 +0000
commit522f4b2c6a0a1fe1e93d7bc2f9fe5290fccba4f9 (patch)
tree3ab5d0d19952c97c19a713df29d0c2de0feb010e /spec/spec_helper.rb
parent335ee79a73fafdf00fac6e8ffc286ce4bad273ff (diff)
downloadgitlab-ce-522f4b2c6a0a1fe1e93d7bc2f9fe5290fccba4f9.tar.gz
Adapt cycle analytics spec helper and cycle analytics usage data spec41777-include-cycle-time-in-usage-ping
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index c0f3366fb52..9f6f0204a16 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -186,6 +186,10 @@ RSpec.configure do |config|
example.run if Gitlab::Database.postgresql?
end
+ config.around(:each, :mysql) do |example|
+ example.run if Gitlab::Database.mysql?
+ end
+
# This makes sure the `ApplicationController#can?` method is stubbed with the
# original implementation for all view specs.
config.before(:each, type: :view) do