aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/command/base_test.rb
blob: 02a508fea73410d82190085501a3b2a128115912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
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