mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
a48f6a5d9f
Also normalize AJ task use t, like all other Rails test tasks.
17 lines
308 B
Ruby
17 lines
308 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "bundler/setup"
|
|
require "bundler/gem_tasks"
|
|
require "rake/testtask"
|
|
|
|
Rake::TestTask.new do |t|
|
|
t.libs << "app/controllers"
|
|
t.libs << "test"
|
|
t.test_files = FileList["test/**/*_test.rb"]
|
|
t.verbose = true
|
|
t.warning = true
|
|
end
|
|
|
|
task :package
|
|
|
|
task default: :test
|