text: call hand-entered lists "Manual"
Assisted-by: Claude Haiku 5.5 via Claude Code
diff --git a/lib/rank_king/sources/text.rb b/lib/rank_king/sources/text.rb
index 6b7537c..43a5c87 100644
--- a/lib/rank_king/sources/text.rb
+++ b/lib/rank_king/sources/text.rb
@@ -10,7 +10,7 @@ module RankKing
class Text
class Provider
#: () -> String
- def title = "By hand"
+ def title = "Manual"
#: (List list) -> Text
def source(list) = Text.new(list)
diff --git a/test/test_web.rb b/test/test_web.rb
index 986d91a..5420fa7 100644
--- a/test/test_web.rb
+++ b/test/test_web.rb
@@ -219,7 +219,7 @@ class TestWeb < Minitest::Test
def test_new_list_form
get "/lists/new"
assert last_response.ok?
- assert_includes last_response.body, "By hand"
+ assert_includes last_response.body, %(<option value="Text">Manual</option>)
assert_includes last_response.body, "Create list"
end
@@ -314,7 +314,7 @@ class TestWeb < Minitest::Test
get "/lists/#{list.id}/settings"
assert last_response.ok?
- assert_includes last_response.body, "By hand"
+ assert_includes last_response.body, "<p>Manual</p>"
refute_includes last_response.body, '<select name="source"'
end