diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-14 17:30:54 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-14 17:30:54 +0900 |
commit | 245c1dafa8bab409fbcd780a996c619240df7143 (patch) | |
tree | 9870d3018fcc16f9d78e76cb40c0a1af4ab4ca55 /railties/test/application | |
parent | 65e994c063fdc42265712854598649ec7607faec (diff) | |
download | rails-245c1dafa8bab409fbcd780a996c619240df7143.tar.gz rails-245c1dafa8bab409fbcd780a996c619240df7143.tar.bz2 rails-245c1dafa8bab409fbcd780a996c619240df7143.zip |
Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the future
Follow up of #31432.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/rake/dbs_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/rake/dbs_test.rb b/railties/test/application/rake/dbs_test.rb index 2082e9fa9f..5b4c42c189 100644 --- a/railties/test/application/rake/dbs_test.rb +++ b/railties/test/application/rake/dbs_test.rb @@ -203,7 +203,7 @@ module ApplicationTests rails "environment", "db:drop", "db:structure:load" assert_match expected_database, ActiveRecord::Base.connection_config[:database] require "#{app_path}/app/models/book" - #if structure is not loaded correctly, exception would be raised + # if structure is not loaded correctly, exception would be raised assert_equal 0, Book.count end end @@ -298,7 +298,7 @@ module ApplicationTests ActiveRecord::Base.configurations = Rails.application.config.database_configuration ActiveRecord::Base.establish_connection :test require "#{app_path}/app/models/book" - #if structure is not loaded correctly, exception would be raised + # if structure is not loaded correctly, exception would be raised assert_equal 0, Book.count assert_match ActiveRecord::Base.configurations["test"]["database"], ActiveRecord::Base.connection_config[:database] |