diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-08-06 09:28:45 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-08-06 09:28:45 -0300 |
commit | 40cc60c2707ebd51db64bf00692be033e187954d (patch) | |
tree | 54f8b401b41cbf4803ee71de5dd36a7d3969ac50 /activerecord | |
parent | 79238bad3debae3c36f6e37c4057b30324731b0c (diff) | |
download | rails-40cc60c2707ebd51db64bf00692be033e187954d.tar.gz rails-40cc60c2707ebd51db64bf00692be033e187954d.tar.bz2 rails-40cc60c2707ebd51db64bf00692be033e187954d.zip |
Fix indentation
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/transactions_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/activerecord/test/cases/transactions_test.rb b/activerecord/test/cases/transactions_test.rb index 3aaee5d94f..abfc90474c 100644 --- a/activerecord/test/cases/transactions_test.rb +++ b/activerecord/test/cases/transactions_test.rb @@ -545,9 +545,8 @@ if current_adapter?(:PostgreSQLAdapter) # 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 |