From 98af1d3d964e924ddf7c9eacbb626c2c99857faf Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 17 Jan 2023 13:34:59 +0100 Subject: [PATCH] Naming --- test/cli/main_test.rb | 15 +++++++++++++++ .../commands/{app_command_test.rb => app_test.rb} | 0 .../{builder_command_test.rb => builder_test.rb} | 0 3 files changed, 15 insertions(+) create mode 100644 test/cli/main_test.rb rename test/commands/{app_command_test.rb => app_test.rb} (100%) rename test/commands/{builder_command_test.rb => builder_test.rb} (100%) diff --git a/test/cli/main_test.rb b/test/cli/main_test.rb new file mode 100644 index 00000000..4c8d08e4 --- /dev/null +++ b/test/cli/main_test.rb @@ -0,0 +1,15 @@ +require "test_helper" +require "active_support/testing/stream" +require "mrsk/cli" + +class CommandsAppTest < ActiveSupport::TestCase + include ActiveSupport::Testing::Stream + + setup do + end + + test "version" do + version = capture(:stdout) { Mrsk::Cli::Main.new.version }.strip + assert_equal Mrsk::VERSION, version + end +end diff --git a/test/commands/app_command_test.rb b/test/commands/app_test.rb similarity index 100% rename from test/commands/app_command_test.rb rename to test/commands/app_test.rb diff --git a/test/commands/builder_command_test.rb b/test/commands/builder_test.rb similarity index 100% rename from test/commands/builder_command_test.rb rename to test/commands/builder_test.rb