[rspec-users] assert_select - to do negative tests - need help with syntax please :)
anexiole at gmail.com
Thu Oct 13 21:56:10 EDT 2011
> I don't know if you can. Maybe somebody on the Rails list knows.
If it can't, it means that people can't use assert_select to expect
NOT to find a given element with extra attributes (such as :name)
being defined. If that's the case, i think assert_select was either
poorly written OR not completed yet. It's like saying that "if"
conditional works but "if not" only works to a simple extend only :( I
am sure it can be done.
Can someone please show us how?
More information about the rspec-users