Starting js-tests

Starting js-tests

pop_out issue

Setup is good - assertions to follow

Moving servers

addChildren testing - needs encapsulated

Fixed Assert - committing before trial rework

Imporoperly adding nodes in test

Trying to rework to test better

Revert "Trying to rework to test better"

This reverts commit 4e66807161970599ce14770d2ee862bd9247d534.

Trying to rework to test better

Added test for widgy.backbone - View

Finished widgy.backbone.View.close() test

Removed Sinon

Reworked Tests

Last commit before backing out of node tests to save history

Backed out of node.js tests

Adding additional render tests for widgy.backbone

Working on configureTriggers test - switching servers

trying extending the view

Backed out configureTriggers test

removed sinon

Starting Model - arguments issue - moving servers

Finished Model Test

Update of comment - maybe right? - working on widgy.contents

Finished widgy.contents.Content

Starting widgy.contents.EditorView

Copying a node test to attempt to get EditorView

Found example in test_widget_component line 81

Returned item is {} and there are AJAX issues

templates.js is call - starting tests on templates.js

Continuing templates - requires ajax fullfillment

This strategy may work for testing EditorView and others

AJAX/Promise Test Works

templates.js at 100%

EditorView.getTemplate works - needs review because I am not sure if it is ok a promise is initially returned

Fixed small error in contents and built test for renderPromise

Starting widgy.contents.EditorView.submit

Adding asserts to EditWidgy.submit - working on success/fail

Made successfull EditView.save

Error in previous tests - going back to submit AJAX issues

Fixed overwriting jquery.ajax

Copied ajax response to fix tests on submit

Finished EditorView

Working through widget_view

Still working through WidgetView - issues with prototypes

Issues around having more than one view

Commented on editWidget tests not working - coming back later

modal/modal.ModalView finished

modal/modal.js at 100%

working on FormView

Finished form.Keypress

Added .load to help tests work

Finished FormView - corrected error on waiting for window to load

Starting NodeView again

Moved to working on AppView

Trying stubs to resolve issues

Found way to test AppView

Initialization of AppView test done; Rocky directed change to AppView.render

Added test for set and update compatibility

Working on AppView.renderPromise; Compatibilities done

Finished most AppView tests

First succussful addChild and addChildPromise

Added Q.done() to all promises to reduce unpredictable promise behavior

added test for NodeView.onClose, removed some Q.done

Working on quick delete test and onClose
Clean up, refactor js tests

Update mocha. Remove mocha-as-promised from test setup.
Combine dupe logic into shared code. Fix some async callbacks,
whitespace.
Merge branch 'clean_review_js_tests' of github.com:zmetcalf/django-widgy into clean_review_js_tests