Permalink
Browse files

Fix indentation

  • Loading branch information...
1 parent 79238ba commit 40cc60c2707ebd51db64bf00692be033e187954d @rafaelfranca rafaelfranca committed Aug 6, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 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

0 comments on commit 40cc60c

Please sign in to comment.