From 35e791ac44295b6e90c56d6bd2780e806b34c5cb Mon Sep 17 00:00:00 2001 From: Tim Chambers Date: Thu, 8 Nov 2018 15:35:46 -0800 Subject: [PATCH] Do not silence fixture creation On Rails 4 this was abandoned. --- test/helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helper.rb b/test/helper.rb index 3b98796..887d2e0 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -80,7 +80,7 @@ def assert_no_queries def setup_database(options) ActiveRecord::Base.class_eval do - silence do + connection.create_table :employees, :force => true do |t| t.column :name, :string t.column :email, :string @@ -113,7 +113,7 @@ def setup_database(options) t.column :foo, :string t.column :bar, :string end - end + end end