diff options
author | Rafael Mendonça França + Kassio Borges <rafaelmfranca+kassioborgesm@gmail.com> | 2013-08-31 14:56:00 -0300 |
---|---|---|
committer | Rafael Mendonça França + Kassio Borges <rafaelmfranca+kassioborgesm@gmail.com> | 2013-08-31 14:56:00 -0300 |
commit | ccecf17b9b40ca60f5ac7281247f3e798820ce12 (patch) | |
tree | c44b40d06fdab8131dcb37ea513e8442cb88c0a8 /activerecord/test/cases | |
parent | bf2c4280563ba5f86072c1bad8af27ff5e5da0f3 (diff) | |
download | rails-ccecf17b9b40ca60f5ac7281247f3e798820ce12.tar.gz rails-ccecf17b9b40ca60f5ac7281247f3e798820ce12.tar.bz2 rails-ccecf17b9b40ca60f5ac7281247f3e798820ce12.zip |
Revert "Do not dup the binds when visiting the AST"
This reverts commit 71ff7d9c6592b93e2c810a1f464943dd7bd02c7f.
Reason: I need to check with @jeremy if we can do this.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index fc567612ff..de4b7fa687 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -329,14 +329,6 @@ class BasicsTest < ActiveRecord::TestCase assert !cbs[1].frickinawesome end - def test_create_without_prepared_statement - cb = CustomBulb.connection.unprepared_statement do - CustomBulb.create(name: 'Dude') - end - - assert_equal('Dude', cb.name) - end - def test_load topics = Topic.all.merge!(:order => 'id').to_a assert_equal(4, topics.size) |