update some deisng parameters and add new cases

This commit is contained in:
2026-07-29 14:32:22 -07:00
parent 683697604a
commit 45a77885f9
34 changed files with 4602 additions and 79 deletions
+16
View File
@@ -0,0 +1,16 @@
# frozen_string_literal: true
require "stringio"
require_relative "test_helper"
class CLITest < Minitest::Test
def test_main_prompt_is_not_an_extra_choice
output = StringIO.new
cli = FeatherCaseWizard::CLI.new(ui: HighLine.new(StringIO.new("4\n"), output))
assert_equal 0, cli.run
assert_includes output.string, "What would you like to do:\n"
assert_includes output.string, "4. Exit\n"
refute_includes output.string, "5. What would you like to do?"
end
end