Sha256: 2b7c53ec19ee95d29442240a6358b592b366da1a2d615cebdd8ba2cba9126717

Contents?: true

Size: 372 Bytes

Versions: 3

Compression:

Stored size: 372 Bytes

Contents

require 'test_helper'

class TaskTest < ActiveSupport::TestCase

  setup do
    Dummy::Application.load_tasks
  end

  teardown do
    Indexes.destroy
  end

  test 'build' do
    assert_nothing_raised do
      Rake::Task['indexes:build'].invoke
    end
  end

  test 'rebuild' do
    assert_nothing_raised do
      Rake::Task['indexes:rebuild'].invoke
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
indexes-4.0.0.2 test/task_test.rb
indexes-4.0.0.1 test/task_test.rb
indexes-4.0.0.0 test/task_test.rb