mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
DEV: Stablize requests/search_controller_spec
.
This commit is contained in:
parent
aaea24448e
commit
a508e6a5f6
@ -6,6 +6,10 @@ describe SearchController do
|
|||||||
SearchIndexer.enable
|
SearchIndexer.enable
|
||||||
end
|
end
|
||||||
|
|
||||||
|
after do
|
||||||
|
$redis.flushall
|
||||||
|
end
|
||||||
|
|
||||||
it "can search correctly" do
|
it "can search correctly" do
|
||||||
my_post = Fabricate(:post, raw: 'this is my really awesome post')
|
my_post = Fabricate(:post, raw: 'this is my really awesome post')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user