Skip to content

Commit

Permalink
[#901] fix to let serialized doctest work in jRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen committed Jan 17, 2011
1 parent 3076e8e commit 0d4b6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hobofields/test/rich_types.rdoctest
Expand Up @@ -23,9 +23,9 @@ though we don't need it for this test:
>> mysql_database = "hobofields_doctest"
>> system "mysqladmin #{mysql_login} --force drop #{mysql_database} 2> /dev/null"
>> system("mysqladmin #{mysql_login} create #{mysql_database}") or raise "could not create database"
>> ActiveRecord::Base.establish_connection(:adapter => "mysql",
>> ActiveRecord::Base.establish_connection(:adapter => mysql_adapter,
:database => mysql_database,
:host => "localhost", :user => mysql_user, :password => mysql_password)
:host => "localhost", :username => mysql_user, :password => mysql_password)
{.hidden}

Some load path manipulation you shouldn't need:
Expand Down

0 comments on commit 0d4b6ab

Please sign in to comment.