Skip to content

Commit ff823c6

Browse files
committed
Add support for VERBOSE environmental variable during migration test.
So messages will be displayed with commands like VERBOSE=true rake test:migrations.
1 parent e08ddc8 commit ff823c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spec/support/migration_spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def prepare_migrate
2626

2727
def migrate(options = {})
2828
clearing_caches do
29-
if options[:verbose]
29+
if options[:verbose] || ENV['VERBOSE']
3030
migrate_under_test
3131
else
3232
suppress_migration_messages { migrate_under_test }

0 commit comments

Comments
 (0)