Sha256: 6008eb8aa269eccc8ba79207cf9cef6a681ad056282c92118c9f0357d4ff63bf
Contents?: true
Size: 496 Bytes
Versions: 6
Compression:
Stored size: 496 Bytes
Contents
require "test_helper" class ParallelizedNonTransactionalFixturelessTestCase < ActiveSupport::TestCase parallelize(workers: :number_of_processors) self.use_transactional_tests = false setup do TestData.uses_test_data end end class ParallelBoopsWithoutFixturesTest < ParallelizedNonTransactionalFixturelessTestCase 100.times do |i| test "that boops don't change ##{i}" do assert_equal 10, Boop.count Boop.create! assert_equal 11, Boop.count end end end
Version data entries
6 entries across 6 versions & 1 rubygems