This is my first post here. I ave been using Rails for a couple of
months, and am starting to put together a test suite. But I'm having a
problem with assert_select in my functional tests.
According to the documentation, it should be fine with two arguments -
a CSS selector and a string to test it against. But no matter what I
do I keep getting the exception:
wrong number of arguments (6 for 2)
It's defnitely the assert-select line that's throwing the error - the
other tests work if I put
that one in a begin-rescue block. I can't even get an example from the
assert_select cheat sheet to run.
I'm using Rails 1.2.3, running on ruby 1.8.2 (yeah, I know that's old,
but we're using Debian...)