From 724b48620c5cf21920717d66eea6e7cd4148b535 Mon Sep 17 00:00:00 2001 From: Lee Bankewitz Date: Mon, 10 Aug 2009 14:51:54 -0400 Subject: Bug fix: Don't use #delegate to declare delegations when intentionally delegating to nil This accounts for a behavior change after Rails 2.3 --- spec/connections/mysql_connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/connections') diff --git a/spec/connections/mysql_connection.rb b/spec/connections/mysql_connection.rb index 6e2950f7dc..bcba2b3843 100644 --- a/spec/connections/mysql_connection.rb +++ b/spec/connections/mysql_connection.rb @@ -7,7 +7,7 @@ ActiveRecord::Base.logger = Logger.new("debug.log") ActiveRecord::Base.configurations = { 'unit' => { :adapter => 'mysql', - :username => 'rails', + :username => 'root', :encoding => 'utf8', :database => 'arel_unit', } -- cgit v1.2.3