parent
650da7b626
commit
f70b330e7a
|
@ -3,8 +3,10 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
describe Jobs::ReindexSearch do
|
describe Jobs::ReindexSearch do
|
||||||
before { SearchIndexer.enable }
|
before do
|
||||||
after { SearchIndexer.disable }
|
SearchIndexer.enable
|
||||||
|
Jobs.run_immediately!
|
||||||
|
end
|
||||||
|
|
||||||
let(:locale) { 'fr' }
|
let(:locale) { 'fr' }
|
||||||
# This works since test db has a small record less than limit.
|
# This works since test db has a small record less than limit.
|
||||||
|
|
Loading…
Reference in New Issue