0

When I run bundle exec cucumber this line "ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"" is printed on the console.

Why is that? How can I get rid of it?

$ bundle exec cucumber
  ActiveRecord::SchemaMigration Load (0.4ms)  SELECT "schema_migrations".* FROM "schema_migrations"
Using the default profile...
0 scenarios
0 steps
0m0.000s
$
american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80

1 Answers1

0

I was browsing around stack overflow, and today I found a solution here -> https://stackoverflow.com/a/33987617/4394500

Basically, add

Rails.application.configure do
  # ... 
  config.log_level = :info
end

to config/environments/test.rb

Community
  • 1
  • 1
american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80