test/test_helper.rb in hario-0.2.0 vs test/test_helper.rb in hario-0.3.0

- old
+ new

@@ -6,10 +6,12 @@ require "hario" require "models" ActiveRecord::Base.configurations = YAML.load_file(File.join(File.dirname(__FILE__), 'database.yml')) ActiveRecord::Base.establish_connection(ENV['DB'] || :sqlite3) -load(File.join(File.dirname(__FILE__), "schema.rb")) +ActiveRecord::Migration.suppress_messages do + load(File.join(File.dirname(__FILE__), "schema.rb")) +end ActiveRecord::Base.logger = Logger.new(File.join(File.dirname(__FILE__), "debug.log")) require "active_support" require "database_rewinder" \ No newline at end of file