Skip to content

Commit

Permalink
Merge pull request #46129 from yahonda/actiontext_isolated
Browse files Browse the repository at this point in the history
Add `rake test:isolated` for Action Text
  • Loading branch information
yahonda committed Feb 28, 2023
2 parents 8bfdac2 + 52d058c commit 70e9c89
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions actiontext/Rakefile
Expand Up @@ -18,4 +18,12 @@ Rake::TestTask.new "test:system" do |t|
t.verbose = true
end

namespace :test do
task :isolated do
FileList["test/**/*_test.rb"].exclude("test/system/**/*", "test/dummy/**/*").all? do |file|
sh(Gem.ruby, "-w", "-Ilib", "-Itest", file)
end || raise("Failures")
end
end

task default: :test

0 comments on commit 70e9c89

Please sign in to comment.