~bac/juju-gui/trunkcopy

Viewing all changes in revision 285.

  • Committer: Benji York
  • Date: 2012-12-17 15:15:14 UTC
  • mfrom: (274.3.7 bug-1088507)
  • Revision ID: benji.york@canonical.com-20121217151514-ihrn3y6gxbdsumyb
Make the prod tests pass.

Changes a test that was failing because of some slight style difference to be
more direct.  Some slight style differences still exist between prod and dev.

The charm model module (app/models/charm.js) is now included in the combined
and minified JS file.

The event-simulate and node-event-simulate functions are needed for the tests,
so they are now directly loaded by test/index.html.

The test_charm_configuration.js file needs juju-charm-models but that module
was not specified.

test/test_model.js had to be rearranged so the YUI().use method was called
inside the "before" method instead of around the entire test module.  This
resulted in a mass reindenting.

Incidentally: Fixes the Makefile so YUI module assets are in the right place
so requests for them do not 404.

R=gary.poster, teknico
CC=
https://codereview.appspot.com/6947057

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: