Skip to content

Commit

Permalink
Add: 一回火入れの補完とテストを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
yonta committed Jun 18, 2024
1 parent 9138266 commit 73a3ca1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/javascript/completion/detail_dict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const hiire = [
},
{ keywords: hiyaoroshiKeywords.concat(["生詰"]), completion: "mae_hiire" },
{ keywords: ["生貯"], completion: "ato_hiire" },
{ keywords: ["一回火入れ"], completion: "ikkai_hiire" },
]

const warimizu = [{ keywords: ["原酒"], completion: "genshu" }]
Expand Down
6 changes: 6 additions & 0 deletions spec/system/sake_form_completion_for_detail_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@
selected = I18n.t("enums.sake.hiire.ato_hiire")
expect(page).to have_select("sake_hiire", selected:)
end

it "is completed 一回火入れ" do
fill_in("sake_name", with: "生道井 一回火入れ").send_keys(:tab)
selected = I18n.t("enums.sake.hiire.ikkai_hiire")
expect(page).to have_select("sake_hiire", selected:)
end
end

describe "warimizu" do
Expand Down

0 comments on commit 73a3ca1

Please sign in to comment.