Skip to content

Commit 300b778

Browse files
committed
Hide ActiveRecord's create_table messages
This should mean less noise in the test, and if we follow this example going foward when adding Sequel and Mongoid models the test output should be relevant only to the tests being run.
1 parent 79fe56a commit 300b778

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/support/active_record_schema.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@
2626
def ar_schema
2727
@ar_schema ||= ActiveRecord::Schema.new
2828
end
29+
30+
ar_schema.verbose = false

0 commit comments

Comments
 (0)