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<
You can also check that all the checkboxes are not checked with this example.
all('input[type=checkbox]').each do |checkbox| checkbox.should_not be_checked end