Sha256: 0d39f8b83f6175a0720e639f1893d5118f10c639e6dd17ae0837acf1ee68bc7a

Contents?: true

Size: 596 Bytes

Versions: 7

Compression:

Stored size: 596 Bytes

Contents

# encoding: UTF-8

require "rake/testtask"
require "minitest/rails/testing"
require "minitest/rails/tasks/sub_test_task"

MiniTest::Rails::Testing.default_tasks << "presenters"

namespace "minitest" do
  unless Rake::Task.task_defined? "minitest:presenters"
    desc "Runs tests under test/presenters"
    MiniTest::Rails::Tasks::SubTestTask.new("presenters" => "test:prepare") do |t|
      t.libs.push "test"
      t.pattern = "test/presenters/**/*_test.rb"
      t.options = MiniTest::Rails::Testing.task_opts["presenters"] if MiniTest::Rails::Testing.task_opts["presenters"]
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
keynote-0.2.3 lib/keynote/testing/minitest_rails.rake
keynote-0.2.2 lib/keynote/testing/minitest_rails.rake
keynote-0.2.1 lib/keynote/testing/minitest_rails.rake
keynote-0.2.0 lib/keynote/testing/minitest_rails.rake
keynote-0.2.0pre3 lib/keynote/testing/minitest_rails.rake
keynote-0.2.0pre2 lib/keynote/testing/minitest_rails.rake
keynote-0.2.0pre1 lib/keynote/testing/minitest_rails.rake