I have an array with elements' names:
names=['tdColumn1','tdColumn2','tdColumn3']
And I wan't to check that they are not visible:
expect(actual).to all(not_be_visible)
But be_not_visible, not_visible, not_be_visible, .not_to all(be_visible) are not correct methods.
What method is correct?
You can check the array without iterating through it yourself but using the include & all matchers/modifiers. The best ones for this case would be .not_to + include.
A less sexy solution would be to match !(false) which = true.