spec/spec_helper.rb in datadog-notifications-0.6.1 vs spec/spec_helper.rb in datadog-notifications-0.6.2

- old
+ new

@@ -8,10 +8,10 @@ require 'active_record' require 'sqlite3' ### Active-record test preparation -ActiveRecord::Base.configurations['test'] = { 'adapter' => 'sqlite3', 'database' => ':memory:' } +ActiveRecord::Base.configurations = { 'test' => { 'adapter' => 'sqlite3', 'database' => ':memory:' } } ActiveRecord::Base.establish_connection(:test) ActiveRecord::Base.connection.create_table :posts do |t| t.string :title end class Post < ActiveRecord::Base