1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #32462 from yhirano55/add_ujs_desc_to_rakefile_in_actionview

Add ujs desc to rakefile in actionview
This commit is contained in:
Rafael França 2018-04-04 20:50:24 -04:00 committed by GitHub
commit d514ce9199
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,7 @@ namespace :test do
t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION)
end
desc "Run tests for rails-ujs"
task :ujs do
begin
Dir.mkdir("log")
@ -56,7 +57,7 @@ namespace :test do
end
namespace :integration do
desc "ActiveRecord Integration Tests"
# ActiveRecord Integration Tests
Rake::TestTask.new(:active_record) do |t|
t.libs << "test"
t.test_files = Dir.glob("test/activerecord/*_test.rb")
@ -65,7 +66,7 @@ namespace :test do
t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION)
end
desc "ActionPack Integration Tests"
# ActionPack Integration Tests
Rake::TestTask.new(:action_pack) do |t|
t.libs << "test"
t.test_files = Dir.glob("test/actionpack/**/*_test.rb")