aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation/where_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-03-27 17:24:27 -0400
committerGitHub <noreply@github.com>2017-03-27 17:24:27 -0400
commitc1faca6333abe4b938b98fedc8d1f47b88209ecf (patch)
tree6ae0cf29da8404bf063e9d6cf36bbf718867f32a /activerecord/test/cases/relation/where_test.rb
parent8c658a0ecc7f2b5fc015d424baf9edf6f3eb2b0b (diff)
parentef6391d4537d9ff1ce46da786a1fccccd886e246 (diff)
downloadrails-c1faca6333abe4b938b98fedc8d1f47b88209ecf.tar.gz
rails-c1faca6333abe4b938b98fedc8d1f47b88209ecf.tar.bz2
rails-c1faca6333abe4b938b98fedc8d1f47b88209ecf.zip
Merge pull request #27636 from mtsmfm/disable-referential-integrity-without-superuser-privilege-take-2
Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser privileges (take 2)
Diffstat (limited to 'activerecord/test/cases/relation/where_test.rb')
-rw-r--r--activerecord/test/cases/relation/where_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relation/where_test.rb b/activerecord/test/cases/relation/where_test.rb
index ed8ffddcf5..c7b2ac90fb 100644
--- a/activerecord/test/cases/relation/where_test.rb
+++ b/activerecord/test/cases/relation/where_test.rb
@@ -15,7 +15,7 @@ require "models/vertex"
module ActiveRecord
class WhereTest < ActiveRecord::TestCase
- fixtures :posts, :edges, :authors, :binaries, :essays, :cars, :treasures, :price_estimates
+ fixtures :posts, :edges, :authors, :author_addresses, :binaries, :essays, :cars, :treasures, :price_estimates
def test_where_copies_bind_params
author = authors(:david)