diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-25 15:23:45 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-25 15:23:45 -0700 |
commit | a6fe244e9b05c60aac88842a38fb2b6285d5571b (patch) | |
tree | 69c5270a775f03fb299b5818b432fc5789ded60d /activerecord/test | |
parent | 3fe9951fcce97edbc7d1443f165a0b2cb82de1ef (diff) | |
download | rails-a6fe244e9b05c60aac88842a38fb2b6285d5571b.tar.gz rails-a6fe244e9b05c60aac88842a38fb2b6285d5571b.tar.bz2 rails-a6fe244e9b05c60aac88842a38fb2b6285d5571b.zip |
take more advantage of arel sql compiler
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/inheritance_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/inheritance_test.rb b/activerecord/test/cases/inheritance_test.rb index 6abbe45492..9fac9373eb 100644 --- a/activerecord/test/cases/inheritance_test.rb +++ b/activerecord/test/cases/inheritance_test.rb @@ -208,7 +208,7 @@ class InheritanceTest < ActiveRecord::TestCase def test_eager_load_belongs_to_primary_key_quoting con = Account.connection - assert_sql(/\(#{con.quote_table_name('companies')}.#{con.quote_column_name('id')} = 1\)/) do + assert_sql(/#{con.quote_table_name('companies')}.#{con.quote_column_name('id')} = 1/) do Account.find(1, :include => :firm) end end |