提交 df26041c 编写于 作者: M Marcel Molina

Fix test database name typo. [Marcel Molina Jr.]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4309 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 869c41d8
*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
\ No newline at end of file
end
......@@ -24,7 +24,7 @@
: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
\ No newline at end of file
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册