Skip to content

Commit

Permalink
Add unit tests for ModelSync.REST.
Browse files Browse the repository at this point in the history
Add tests for this modules public API sans its `sync()` method. Testing
the `sync()` method is more involved and will be as a separate commit.
  • Loading branch information
ericf committed Jul 13, 2012
1 parent d3358f8 commit 44581e0
Show file tree
Hide file tree
Showing 2 changed files with 204 additions and 110 deletions.
3 changes: 3 additions & 0 deletions src/app/tests/app.html
Expand Up @@ -13,6 +13,9 @@
<iframe src="app-iframe.html" id="test-iframe" style="visibility:hidden"></iframe>

<script src="../../../build/yui/yui.js"></script>
<script>
YUI.Env.CSRF_TOKEN = 'asdf1234';
</script>
<script>
var Y = YUI({
allowRollup: false,
Expand Down

0 comments on commit 44581e0

Please sign in to comment.