multiple request data test

master
Kanezoh 2021-07-01 21:00:26 +09:00
parent 5bec2626a8
commit 76447684da
1 changed files with 5 additions and 0 deletions

View File

@ -42,4 +42,9 @@ describe "Form Fields Multiple Select List" do
selectbox.select_none
selectbox.values.empty?.should eq true
end
it "returns multiple selected values" do
selectbox.select_all
form.request_data.should eq "pets=dog&pets=cat&pets=hamster"
end
end