I'm trying to claim that none of the options from my drop-down list were selected, but the following failures:
assert page.has_select? "franchise_id", selected: nil
assert page.has_select? "franchise_id", selected: false
assert page.has_select? "franchise_id", selected: "Pick a Franchise"
I just want to verify that my selected input has not selected anything. How can i do this?
source
share