Sha256: 36ad4e4e556cc4e78fd24b91168c4f9ef3a0ea83c1b96f28aab6ee40493704da
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
require "test_helper" class ParallelizedTransactionalFixturefullTestCase < ActiveSupport::TestCase parallelize(workers: :number_of_processors) self.use_transactional_tests = true fixtures :all setup do TestData.load end teardown do TestData.rollback 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
test_data-0.1.0 | example/test/integration/parallel_boops_with_fixtures_test.rb |