Sha256: 60e36e91b2f7e5c8bee432adf48de3f4cd4a67a3521f6165fb7de3dcacee330a

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
    Indices.destroy
  end

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

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
indices-0.0.1 test/tasks_test.rb