mirror of
https://github.com/github/rails.git
synced 2026-01-29 16:28:09 -05:00
Fix test database name typo. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4309 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Fix test database name typo. [Marcel Molina Jr.]
|
||||
|
||||
*1.1.2* (April 9th, 2005)
|
||||
|
||||
* Rely on Active Record 1.14.2
|
||||
|
||||
@@ -34,8 +34,8 @@ SCHEMA_PATH = File.join(File.dirname(__FILE__), *%w(test fixtures db_definitions
|
||||
|
||||
desc 'Build the MySQL test database'
|
||||
task :build_database do
|
||||
%x( mysqladmin create activewebservice_unittest )
|
||||
%x( mysql activewebservice_unittest < #{File.join(SCHEMA_PATH, 'mysql.sql')} )
|
||||
%x( mysqladmin create actionwebservice_unittest )
|
||||
%x( mysql actionwebservice_unittest < #{File.join(SCHEMA_PATH, 'mysql.sql')} )
|
||||
end
|
||||
|
||||
|
||||
@@ -168,4 +168,4 @@ task :release => [ :package ] do
|
||||
puts release_command
|
||||
system(release_command)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -24,7 +24,7 @@ ActiveRecord::Base.establish_connection(
|
||||
:adapter => "mysql",
|
||||
:username => "rails",
|
||||
:encoding => "utf8",
|
||||
:database => "activewebservice_unittest"
|
||||
:database => "actionwebservice_unittest"
|
||||
)
|
||||
ActiveRecord::Base.connection
|
||||
|
||||
@@ -35,4 +35,4 @@ class ActionController::TestRequest
|
||||
def raw_post
|
||||
super
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user