diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-20 13:51:45 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 13:51:45 +0900 |
commit | c267e9afa890f1034f0d15215b0dbaa59307d80e (patch) | |
tree | 988cf32498d8e4d60e2490173fa47f7226dc841a /activerecord/test/cases | |
parent | 982c46a219b4e4bd14e898913e330be2ba68a589 (diff) | |
parent | 002f55e7959d2ee9b35f76bbb2b8cb4a58ab5a9d (diff) | |
download | rails-c267e9afa890f1034f0d15215b0dbaa59307d80e.tar.gz rails-c267e9afa890f1034f0d15215b0dbaa59307d80e.tar.bz2 rails-c267e9afa890f1034f0d15215b0dbaa59307d80e.zip |
Merge pull request #35325 from abhaynikam/add-query-method-delegation-test-for-destory-by-and-delete-by
Added delegation tests for delete_by and destroy_by methods
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/relation/delegation_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb index 63ae438de3..4de3b1300c 100644 --- a/activerecord/test/cases/relation/delegation_test.rb +++ b/activerecord/test/cases/relation/delegation_test.rb @@ -50,7 +50,7 @@ module ActiveRecord :first_or_create, :first_or_create!, :first_or_initialize, :find_or_create_by, :find_or_create_by!, :create_or_find_by, :create_or_find_by!, :find_or_initialize_by, :find_by, :find_by!, - :destroy_all, :delete_all, :update_all, + :destroy_all, :delete_all, :update_all, :delete_by, :destroy_by, :find_each, :find_in_batches, :in_batches, :select, :group, :order, :except, :reorder, :limit, :offset, :joins, :left_joins, :left_outer_joins, :or, :where, :rewhere, :preload, :eager_load, :includes, :from, :lock, :readonly, :extending, |