Sha256: a8133989b99c9ca6ce9b2cdde52ac6a0fa5bdb3be630f850d5584c96e3137a79

Contents?: true

Size: 585 Bytes

Versions: 37

Compression:

Stored size: 585 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
require_relative "../config/environment"
require "rails/test_help"

class ActiveSupport::TestCase
  # Run tests in parallel with specified workers
<% if Process.respond_to?(:fork) && !Gem.win_platform? -%>
  parallelize(workers: :number_of_processors)
<%- else -%>
  parallelize(workers: :number_of_processors, with: :threads)
<% end -%>

<% unless options[:skip_active_record] -%>
  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

<% end -%>
  # Add more helper methods to be used by all tests here...
end

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
railties-6.1.4.4 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.4.3 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.4.2 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.4.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/railties-6.1.4/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.4 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.3.2 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.3.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.3 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.2.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.2 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.0 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.0.rc2 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.0.rc1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt