spec/connection.rb in schema_validations-0.1.1 vs spec/connection.rb in schema_validations-0.1.2

- old
+ new

@@ -1,13 +1,14 @@ require 'logger' ActiveRecord::Base.logger = Logger.new(File.open("sqlite3.log", "w")) ActiveRecord::Base.configurations = { - 'schema_plus' => { + 'schema_validations' => { :adapter => 'sqlite3', - :database => File.expand_path('schema_plus.sqlite3', File.dirname(__FILE__)), + :database => File.expand_path('schema_validations.sqlite3', File.dirname(__FILE__)), } } -ActiveRecord::Base.establish_connection 'schema_plus' +ActiveRecord::Base.establish_connection 'schema_validations' +ActiveRecord::Base.connection.execute "PRAGMA synchronous = OFF"