| specs should run against SQLite by default - reportable - Fork of reportable re… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 84264f207621302f541bdd286319ccbc317310b9 | |
| parent cac32106c57093bde07c232db7141d125fb42b39 | |
| Author: marcoow <[email protected]> | |
| Date: Fri, 12 Dec 2008 03:27:30 +0800 | |
| specs should run against SQLite by default | |
| Signed-off-by: Marco Otte-Witte <[email protected]> | |
| Diffstat: | |
| M spec/boot.rb | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git a/spec/boot.rb b/spec/boot.rb | |
| @@ -19,5 +19,5 @@ FileUtils.mkdir_p File.join(File.dirname(__FILE__), 'log') | |
| ActiveRecord::Base.logger = Logger.new(File.join(File.dirname(__FILE__), 'log'… | |
| databases = YAML::load(IO.read(File.join(File.dirname(__FILE__), 'db', 'databa… | |
| -ActiveRecord::Base.establish_connection(databases['postgresql']) | |
| +ActiveRecord::Base.establish_connection(databases['sqlite3']) | |
| load(File.join(File.dirname(__FILE__), 'db', 'schema.rb')) |