mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
54ee15a203
Currently rails' help shows only namespace. However, the secrets command needs to specify command. Therefore, I fixed the command to display in help.
11 lines
425 B
Ruby
11 lines
425 B
Ruby
require "abstract_unit"
|
|
require "rails/command"
|
|
require "rails/commands/generate/generate_command"
|
|
require "rails/commands/secrets/secrets_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), Rails::Command::SecretsCommand.printing_commands
|
|
end
|
|
end
|