tasks/db.rake in sluggable_finder-2.3.1 vs tasks/db.rake in sluggable_finder-2.3.2
- old
+ new
@@ -1,11 +1,10 @@
require 'active_record'
db = {
- # :adapter=>'sqlite3',
- # :dbfile=> File.join(File.dirname(__FILE__),'..','spec','db','test.db')
- :adapter => 'mysql',
+ :adapter=>'sqlite3',
+ :dbfile=> File.join(File.dirname(__FILE__),'..','spec','db','test.db'),
:host => 'localhost',
- :database => 'sluggable_finder_test',
+ :database => 'spec/db/sluggable_finder_test',
:user => 'root',
:password => ''
}
ActiveRecord::Base.establish_connection( db )
# define a migration
\ No newline at end of file