Sha256: 2419007d84919631b8b7e39bbe4d86973555e154e7210b9aff207a7e08eee70e

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

require 'test_helper'

class TasksTest < 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

1 entries across 1 versions & 1 rubygems

Version Path
indexes-0.0.1 test/tasks_test.rb