Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix indentation

  • Loading branch information...
commit 40cc60c2707ebd51db64bf00692be033e187954d 1 parent 79238ba
@rafaelfranca rafaelfranca authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 activerecord/test/cases/transactions_test.rb
View
5 activerecord/test/cases/transactions_test.rb
@@ -545,9 +545,8 @@ class ConcurrentTransactionTest < TransactionTest
# This will cause transactions to overlap and fail unless they are performed on
# separate database connections.
def test_transaction_per_thread
- if in_memory_db?
- skip "in memory db can't share a db between threads"
- end
+ skip "in memory db can't share a db between threads" if in_memory_db?
+
threads = 3.times.map do
Thread.new do
Topic.transaction do
Please sign in to comment.
Something went wrong with that request. Please try again.