aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-18 12:57:22 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-18 12:57:22 +0900
commit9379d553d8669a99b55368715ccc48645f0441d2 (patch)
treef2cd2a93c2052bc8d93bad6754d56eadc949d2a4 /activerecord
parent907280ddfd78c53e2eb5af6f12512dc38df38bd8 (diff)
downloadrails-9379d553d8669a99b55368715ccc48645f0441d2.tar.gz
rails-9379d553d8669a99b55368715ccc48645f0441d2.tar.bz2
rails-9379d553d8669a99b55368715ccc48645f0441d2.zip
Remove duplicated `test_update_all_with_order_and_limit`
This is covered by `test_update_all_with_order_and_limit_updates_subset_only` and `test_update_all_with_order_and_limit_and_offset_updates_subset_only`.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/base_test.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb
index d560b4e519..3168bf6977 100644
--- a/activerecord/test/cases/base_test.rb
+++ b/activerecord/test/cases/base_test.rb
@@ -438,12 +438,6 @@ class BasicsTest < ActiveRecord::TestCase
Post.reset_table_name
end
- if current_adapter?(:Mysql2Adapter)
- def test_update_all_with_order_and_limit
- assert_equal 1, Topic.limit(1).order("id DESC").update_all(content: "bulk updated!")
- end
- end
-
def test_null_fields
assert_nil Topic.find(1).parent_id
assert_nil Topic.create("title" => "Hey you").parent_id