aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-12-14 17:30:54 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-12-14 17:30:54 +0900
commit245c1dafa8bab409fbcd780a996c619240df7143 (patch)
tree9870d3018fcc16f9d78e76cb40c0a1af4ab4ca55 /railties
parent65e994c063fdc42265712854598649ec7607faec (diff)
downloadrails-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')
-rw-r--r--railties/test/application/rake/dbs_test.rb4
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]