I am a newbie with rails, so please forgive me if I made a mistake.
I have a link in a view that uses java script to toggle a div.
Now, I need to test this. But I simply don’t know how to trigger
the action of clicking on a link (to toggle the page element) in a test.
I have done an exhaustive search, but it was fruitless.
Any help is much appreciated.
Thanks a lot!!!