Sha256: d8ee634336a8938777cd0c72a4d9575f2f660b4131ab1f5d4f7b4f7a268b4a28
Contents?: true
Size: 502 Bytes
Versions: 6
Compression:
Stored size: 502 Bytes
Contents
require "test_helper" class ParallelizedTransactionalFixturefullTestCase < ActiveSupport::TestCase parallelize(workers: :number_of_processors) self.use_transactional_tests = true fixtures :all setup do TestData.uses_test_data end end class ParallelBoopsWithFixturesTest < ParallelizedTransactionalFixturefullTestCase 100.times do |i| test "that boops don't change ##{i}" do assert_equal 12, Boop.count Boop.create! assert_equal 13, Boop.count end end end
Version data entries
6 entries across 6 versions & 1 rubygems