aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-01-24 13:13:10 -0500
committerGitHub <noreply@github.com>2019-01-24 13:13:10 -0500
commit1e25dfde032172bab2b126e60fac0302025defcc (patch)
tree0b4368251a6e282ea89f1d3a5f9848dae1048fa1 /railties/test
parentc1e949e9e618f75dc446ffa584c3b441c48714b1 (diff)
parenta670654882063f0e89a5e450a16dc3cda2ed4030 (diff)
downloadrails-1e25dfde032172bab2b126e60fac0302025defcc.tar.gz
rails-1e25dfde032172bab2b126e60fac0302025defcc.tar.bz2
rails-1e25dfde032172bab2b126e60fac0302025defcc.zip
Merge pull request #35033 from gmcgibbon/multilevel_command_root_namespace
Fix deeply nested namespace command printing
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/command/base_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/command/base_test.rb b/railties/test/command/base_test.rb
index a49ae8aae7..9132c8b4af 100644
--- a/railties/test/command/base_test.rb
+++ b/railties/test/command/base_test.rb
@@ -4,10 +4,12 @@ require "abstract_unit"
require "rails/command"
require "rails/commands/generate/generate_command"
require "rails/commands/secrets/secrets_command"
+require "rails/commands/db/system/change/change_command"
class Rails::Command::BaseTest < ActiveSupport::TestCase
test "printing commands" do
assert_equal %w(generate), Rails::Command::GenerateCommand.printing_commands
assert_equal %w(secrets:setup secrets:edit secrets:show), Rails::Command::SecretsCommand.printing_commands
+ assert_equal %w(db:system:change), Rails::Command::Db::System::ChangeCommand.printing_commands
end
end