Module: Chewy::Minitest::Helpers::ClassMethods
- Defined in:
- lib/chewy/minitest/helpers.rb
Instance Method Summary collapse
-
#index_everything! ⇒ Object
Declare that all tests in this file require real indexing, always.
Instance Method Details
#index_everything! ⇒ Object
Declare that all tests in this file require real indexing, always. In my completely unscientific experiments, this roughly doubled test runtime. Use with trepidation.
57 58 59 60 61 62 63 64 65 |
# File 'lib/chewy/minitest/helpers.rb', line 57 def index_everything! setup do Chewy.strategy :urgent end teardown do Chewy.strategy.pop end end |