Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Aug 6, 2013
1 parent 79238ba commit 40cc60c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions activerecord/test/cases/transactions_test.rb
Expand Up @@ -545,9 +545,8 @@ class ConcurrentTransactionTest < TransactionTest
# This will cause transactions to overlap and fail unless they are performed on # This will cause transactions to overlap and fail unless they are performed on
# separate database connections. # separate database connections.
def test_transaction_per_thread def test_transaction_per_thread
if in_memory_db? skip "in memory db can't share a db between threads" if in_memory_db?
skip "in memory db can't share a db between threads"
end
threads = 3.times.map do threads = 3.times.map do
Thread.new do Thread.new do
Topic.transaction do Topic.transaction do
Expand Down

0 comments on commit 40cc60c

Please sign in to comment.