diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2013-01-30 14:26:02 -0500 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2013-01-30 14:26:02 -0500 |
commit | 551c9232de911c29f4d66277c3c04dd181a8b2f9 (patch) | |
tree | 81a4c4f16735412268dd881738bd96e96e330127 /activerecord/test | |
parent | bb21d6ed7adc899435f32e297115fe98381e71d4 (diff) | |
download | rails-551c9232de911c29f4d66277c3c04dd181a8b2f9.tar.gz rails-551c9232de911c29f4d66277c3c04dd181a8b2f9.tar.bz2 rails-551c9232de911c29f4d66277c3c04dd181a8b2f9.zip |
class_eval should use __FILE__ and __LINE__
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/connection_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/connection_test.rb b/activerecord/test/cases/adapters/postgresql/connection_test.rb index fa8f339f00..c03660957e 100644 --- a/activerecord/test/cases/adapters/postgresql/connection_test.rb +++ b/activerecord/test/cases/adapters/postgresql/connection_test.rb @@ -108,7 +108,7 @@ module ActiveRecord @connection.verify! new_connection_pid = @connection.query('select pg_backend_pid()') ensure - raw_connection_class.class_eval <<-CODE + raw_connection_class.class_eval <<-CODE, __FILE__, __LINE__ + 1 alias query query_unfake undef query_fake CODE |