I\'m using Rspec and Capybara.
How can I write a step to check a checkbox? I\'ve tried check by value but it can\'t find my checkbox<
checkbox
check
checkbox<
I found the following worked for me:
# Check find(:css, "#cityID[value='62']").set(true) # Uncheck find(:css, "#cityID[value='62']").set(false)