multiple request data test

This commit is contained in:
Kanezoh 2021-07-01 21:00:26 +09:00
parent 5bec2626a8
commit 76447684da

View File

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