Skip to content

Commit

Permalink
Do not silence fixture creation
Browse files Browse the repository at this point in the history
On Rails 4 this was abandoned.
  • Loading branch information
tjchambers committed Nov 8, 2018
1 parent b563e00 commit 35e791a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -113,7 +113,7 @@ def setup_database(options)
t.column :foo, :string
t.column :bar, :string
end
end

end
end

Expand Down

0 comments on commit 35e791a

Please sign in to comment.