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…
Reference in New Issue