diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-07-03 20:52:56 +0200 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-07-03 23:23:11 +0200 |
commit | 9105c59af05d3219e2811cab0642badbb4af5398 (patch) | |
tree | 192f007ce3e096ad42dfaceeed7d1c79cecd61f8 /activerecord/test | |
parent | b23501112e40f8e8fff3676147c8a4aa8d8a4aa3 (diff) | |
download | rails-9105c59af05d3219e2811cab0642badbb4af5398.tar.gz rails-9105c59af05d3219e2811cab0642badbb4af5398.tar.bz2 rails-9105c59af05d3219e2811cab0642badbb4af5398.zip |
Remove deprecated `transaction_joinable=`
in favor of `begin_transaction`
with `:joinable` option.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/transactions_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/test/cases/transactions_test.rb b/activerecord/test/cases/transactions_test.rb index f4814f1c42..6ba7464203 100644 --- a/activerecord/test/cases/transactions_test.rb +++ b/activerecord/test/cases/transactions_test.rb @@ -593,14 +593,5 @@ if current_adapter?(:PostgreSQLAdapter) assert_equal original_salary, Developer.find(1).salary end - - test "#transaction_joinable= is deprecated" do - Developer.transaction do - conn = Developer.connection - assert conn.current_transaction.joinable? - assert_deprecated { conn.transaction_joinable = false } - assert !conn.current_transaction.joinable? - end - end end end |