diff options
author | Steve Jorgensen <stevej@renewfund.com> | 2012-07-16 10:01:16 -0700 |
---|---|---|
committer | Steve Jorgensen <stevej@renewfund.com> | 2012-07-16 10:01:16 -0700 |
commit | 4b1bca04025a66c54e6e9d5eb6e4d4056bfa92f0 (patch) | |
tree | e143681b26cca159441383ae7cb517f01bf2eaa0 /activerecord/test/cases/adapters | |
parent | 6d5f4de4c420ebb906109668f5702a537ac77692 (diff) | |
download | rails-4b1bca04025a66c54e6e9d5eb6e4d4056bfa92f0.tar.gz rails-4b1bca04025a66c54e6e9d5eb6e4d4056bfa92f0.tar.bz2 rails-4b1bca04025a66c54e6e9d5eb6e4d4056bfa92f0.zip |
Stop being silly with formatting of method aliasing.
Diffstat (limited to 'activerecord/test/cases/adapters')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/connection_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/connection_test.rb b/activerecord/test/cases/adapters/postgresql/connection_test.rb index c350efc08b..202f7e27c5 100644 --- a/activerecord/test/cases/adapters/postgresql/connection_test.rb +++ b/activerecord/test/cases/adapters/postgresql/connection_test.rb @@ -99,8 +99,8 @@ module ActiveRecord end end - alias query_unfake query - alias query query_fake + alias query_unfake query + alias query query_fake CODE begin @@ -108,7 +108,7 @@ module ActiveRecord new_connection_pid = @connection.query('select pg_backend_pid()') ensure connection_class.class_eval <<-CODE - alias query query_unfake + alias query query_unfake undef query_fake CODE end |