Sha256: 64ca60e35cad64703e1553c45e74c081d442310d6fe8ec4da922f2b98fc8ffcb
Contents?: true
Size: 483 Bytes
Versions: 2
Compression:
Stored size: 483 Bytes
Contents
require 'test_helper' class TaskTest < ActiveSupport::TestCase setup do Dummy::Application.load_tasks end teardown do Indexers.unindex end test 'index' do assert_nothing_raised do Rake::Task['indexers:index'].invoke end end test 'reindex' do assert_nothing_raised do Rake::Task['indexers:reindex'].invoke end end test 'unindex' do assert_nothing_raised do Rake::Task['indexers:unindex'].invoke end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
indexers-4.1.0.1 | test/task_test.rb |
indexers-4.1.0.0 | test/task_test.rb |