diff options
| author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-03-08 10:55:47 -0500 |
|---|---|---|
| committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-03-08 10:55:47 -0500 |
| commit | 6466739e2e61f790a9e1f09020dba710c4078a0f (patch) | |
| tree | 35d990feb7a96c149297ccbbd3a6c28525d8ae82 /spec/spec_helper.rb | |
| parent | edbcde8877f497ea675fde811065679286a1aa56 (diff) | |
| parent | ac1f3bc3e43ad90de16b6ad12f549c9838f51e3b (diff) | |
| download | gitlab-ce-6466739e2e61f790a9e1f09020dba710c4078a0f.tar.gz | |
Merge remote-tracking branch 'origin/master' into 40781-os-to-ce
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 4 |
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 |
