How to test a script that needs to replace the body of the page?

5 views
Skip to first unread message

Volkan Unsal

unread,
May 5, 2016, 3:25:19 PM5/5/16
to karma-users
I'm writing tests for Turbolinks, which is a script that fetches the contents of a url via Ajax and replaces the body of the current page with the loaded page. I know that Karma needs the body of the page and my testing showed that the body of the page was not restored. Can anyone give me a tip on how to do this?

Thanks!
Reply all
Reply to author
Forward
0 new messages