test/helper.rb in active_olap-0.0.2 vs test/helper.rb in active_olap-0.0.3
- old
+ new
@@ -13,11 +13,12 @@
base.send :include, ActiveOLAP::Test::Assertions
end
def create_db
- ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => ":memory:")
-
+ ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
+ ActiveRecord::Migration.verbose = false
+
ActiveRecord::Schema.define(:version => 1) do
create_table :olap_tests do |t|
t.string :string_field
t.integer :int_field
t.string :category_field
\ No newline at end of file