[rspec-users] rspec on javascript links

aslak hellesoy aslak.hellesoy at gmail.com
Wed Sep 17 16:50:19 EDT 2008

On Tue, Sep 9, 2008 at 1:21 AM, saltzmanjoelh <talk at joelsaltzman.com> wrote:
> I have a lot of AJAX calls that make new divs or update information on the
> page. Is there anyway to test and if the right infomation has been received
> or displayed after an onclick action? If that makes sense?...

If you use RJS on the server you can use response.should have_rjs:

If not, take a look at Watir or Selenium-RC


> --
> View this message in context: http://www.nabble.com/rspec-on-javascript-links-tp19383154p19383154.html
> Sent from the rspec-users mailing list archive at Nabble.com.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list