diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-05-03 09:43:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-03 09:43:04 +0900 |
commit | 9b0e632def6a66bbd0c0aba8531b2a173f7c3064 (patch) | |
tree | 5b887e84b0a6141c05e938d37c531a2c5cffd38d /activerecord | |
parent | 8305d305a1ef200e0d77f44e6f16e2c7deeec8c6 (diff) | |
parent | 36483cdb486fb72ef08ada2a60a0085f2bf66f2f (diff) | |
download | rails-9b0e632def6a66bbd0c0aba8531b2a173f7c3064.tar.gz rails-9b0e632def6a66bbd0c0aba8531b2a173f7c3064.tar.bz2 rails-9b0e632def6a66bbd0c0aba8531b2a173f7c3064.zip |
Merge pull request #36168 from yahonda/remove_redundant_test_too_many_binds_testcase
Remove redundant `test_too_many_binds`
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/adapters/sqlite3/bind_parameter_test.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/bind_parameter_test.rb b/activerecord/test/cases/adapters/sqlite3/bind_parameter_test.rb deleted file mode 100644 index 93a7dafebd..0000000000 --- a/activerecord/test/cases/adapters/sqlite3/bind_parameter_test.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -require "cases/helper" -require "models/topic" - -module ActiveRecord - module ConnectionAdapters - class SQLite3Adapter - class BindParameterTest < ActiveRecord::SQLite3TestCase - def test_too_many_binds - topics = Topic.where(id: (1..999).to_a << 2**63) - assert_equal Topic.count, topics.count - - topics = Topic.where.not(id: (1..999).to_a << 2**63) - assert_equal 0, topics.count - end - end - end - end -end |