diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-01-05 14:20:23 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-01-05 14:20:23 -0700 |
commit | 3d0c718644181bc7c3912c8b2b9965aeaa408bc0 (patch) | |
tree | f9034b301ebb01e7477f3c7cf3bc2080c6dac94a | |
parent | 08d6eb2370bf44d451503bc58b58c0192d820341 (diff) | |
download | rails-3d0c718644181bc7c3912c8b2b9965aeaa408bc0.tar.gz rails-3d0c718644181bc7c3912c8b2b9965aeaa408bc0.tar.bz2 rails-3d0c718644181bc7c3912c8b2b9965aeaa408bc0.zip |
Whitespace fixes from #18349
-rw-r--r-- | activerecord/test/cases/transactions_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/cases/transactions_test.rb b/activerecord/test/cases/transactions_test.rb index 466ab45502..d1d8e71c34 100644 --- a/activerecord/test/cases/transactions_test.rb +++ b/activerecord/test/cases/transactions_test.rb @@ -655,7 +655,7 @@ class TransactionTest < ActiveRecord::TestCase connection.create_table(:transaction_without_primary_keys, force: true, id: false) do |t| t.integer :thing_id end - + klass = Class.new(ActiveRecord::Base) do self.table_name = 'transaction_without_primary_keys' after_commit { } # necessary to trigger the has_transactional_callbacks branch @@ -667,7 +667,6 @@ class TransactionTest < ActiveRecord::TestCase raise ActiveRecord::Rollback end end - ensure connection.execute("DROP TABLE IF EXISTS transaction_without_primary_keys") end |