Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Stop being silly with formatting of method aliasing.

  • Loading branch information...
commit 4b1bca04025a66c54e6e9d5eb6e4d4056bfa92f0 1 parent 6d5f4de
Steve Jorgensen authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/test/cases/adapters/postgresql/connection_test.rb
View
6 activerecord/test/cases/adapters/postgresql/connection_test.rb
@@ -99,8 +99,8 @@ def query_fake(*args)
end
end
- alias query_unfake query
- alias query query_fake
+ alias query_unfake query
+ alias query query_fake
CODE
begin
@@ -108,7 +108,7 @@ def query_fake(*args)
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
Please sign in to comment.
Something went wrong with that request. Please try again.