Skip to content
Browse files

Using a simpler database name for specs.

  • Loading branch information...
1 parent 07fcf53 commit 6dd0ea5cd0b1cd66fb096d9ed9abf14fc6d8df8e @pat pat committed Sep 28, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/sphinx_helper.rb
View
6 spec/sphinx_helper.rb
@@ -25,11 +25,11 @@ def setup_mysql
server = Mysql.new @host, @username, @password
server.set_server_option(Mysql::OPTION_MULTI_STATEMENTS_ON)
- unless server.list_dbs.include?("riddle_sphinx_spec")
- server.create_db "riddle_sphinx_spec"
+ unless server.list_dbs.include?("riddle")
+ server.create_db "riddle"
end
- server.query "USE riddle_sphinx_spec;"
+ server.query "USE riddle;"
structure = File.open("spec/fixtures/sql/structure.sql") { |f| f.read }
# Block ensures multiple statement transaction is closed.

0 comments on commit 6dd0ea5

Please sign in to comment.
Something went wrong with that request. Please try again.