aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/timestamp_test.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-01-02 21:10:32 +0100
committerGitHub <noreply@github.com>2017-01-02 21:10:32 +0100
commit33e60514aed85b3076f2636d5f1ccfb513aace1c (patch)
tree56953381ef0764357f22d0ce497400ee43a5598f /activerecord/test/cases/timestamp_test.rb
parent4bf04471f525571146f238e200467724b25689d8 (diff)
parent059a476c570bc3451df855b99724e74bc2cba604 (diff)
downloadrails-33e60514aed85b3076f2636d5f1ccfb513aace1c.tar.gz
rails-33e60514aed85b3076f2636d5f1ccfb513aace1c.tar.bz2
rails-33e60514aed85b3076f2636d5f1ccfb513aace1c.zip
Merge pull request #27543 from kamipo/fix_update_counters_of_multiple_records_with_touch
Fix update counters of multiple records with touch: true
Diffstat (limited to 'activerecord/test/cases/timestamp_test.rb')
-rw-r--r--activerecord/test/cases/timestamp_test.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/activerecord/test/cases/timestamp_test.rb b/activerecord/test/cases/timestamp_test.rb
index 7327926706..7766a74612 100644
--- a/activerecord/test/cases/timestamp_test.rb
+++ b/activerecord/test/cases/timestamp_test.rb
@@ -430,21 +430,6 @@ class TimestampTest < ActiveRecord::TestCase
assert_not_equal person.born_at, nil
end
- def test_timestamp_attributes_for_create
- toy = Toy.first
- assert_equal ["created_at", "created_on"], toy.send(:timestamp_attributes_for_create)
- end
-
- def test_timestamp_attributes_for_update
- toy = Toy.first
- assert_equal ["updated_at", "updated_on"], toy.send(:timestamp_attributes_for_update)
- end
-
- def test_all_timestamp_attributes
- toy = Toy.first
- assert_equal ["created_at", "created_on", "updated_at", "updated_on"], toy.send(:all_timestamp_attributes)
- end
-
def test_timestamp_attributes_for_create_in_model
toy = Toy.first
assert_equal ["created_at"], toy.send(:timestamp_attributes_for_create_in_model)