aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-06-24 01:38:58 -0300
committerGitHub <noreply@github.com>2016-06-24 01:38:58 -0300
commit006ea8171dc68fad2b8e7b57b08cab5245fd9476 (patch)
tree62e41f06a54b1c8c17cbfa97d7170dee73720a02 /activerecord
parente8c21ff645eefb889acd7799bd12c9757cd8fd8c (diff)
parent3aae8ab6b092f254959675feea04ffa68df6e751 (diff)
downloadrails-006ea8171dc68fad2b8e7b57b08cab5245fd9476.tar.gz
rails-006ea8171dc68fad2b8e7b57b08cab5245fd9476.tar.bz2
rails-006ea8171dc68fad2b8e7b57b08cab5245fd9476.zip
Merge pull request #25502 from Edouard-chin/exclusive-scope-test-residue
Removed a forgotten `with_exclusive_scope` test:
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 00e4e50ea1..7b1ce40c0d 100644
--- a/activerecord/test/cases/base_test.rb
+++ b/activerecord/test/cases/base_test.rb
@@ -1032,12 +1032,6 @@ class BasicsTest < ActiveRecord::TestCase
assert_equal t1.title, t2.title
end
- def test_reload_with_exclusive_scope
- dev = DeveloperCalledDavid.first
- dev.update!(name: "NotDavid" )
- assert_equal dev, dev.reload
- end
-
def test_switching_between_table_name
k = Class.new(Joke)