DEV: Fix flaky specs (#114)

This commit is contained in:
David Taylor 2022-03-15 13:47:53 +00:00 committed by GitHub
parent 20f0b1c6ce
commit cd5387c567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@
require 'rails_helper'
describe 'Slack Command Controller', type: :request do
before do
Discourse.cache.clear
end
let(:category) { Fabricate(:category) }
let(:tag) { Fabricate(:tag) }
let(:tag2) { Fabricate(:tag) }