Use more descriptive variable names in model tests

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Use Bower-installed Mocha, Chai in JS tests

* Keep using our own customised rosie.js (see 596c93a)

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix PlanningElement test fail after Mocha upgrade

Switch to `be.empty` assertion.

Deep Equals behaviour appears to have changed:
https://github.com/chaijs/chai/blob/master/ReleaseNotes.md#deep-equals

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Remove unused JS libraries from Mocha HTML page

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Use Bower-installed jQuery in JS tests

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge branch 'feature/ui-component-table-widgets-merged' into feature/ui-components-test-architecture-bower
Merge branch 'feature/ui-components-test-architecture-bower' into feature/ui-components-test-architecture-mocha-tests
Add timeline column name directive, fix custom field column header
Use custom field helper in timeline.js
Wrap up timeline column rendering in a directive
Display custom field columns in timeline table
Fix path selector in cucumber timeline steps
Remove unnecessary variable declaration
Only set watchers on custom fields for custom field columns
Fix variable naming and move some code
Added back in specs i was too lazy to reimplement.
Merge pull request #1021 from opf/feature/ui-components-timeline-custom-fields

Feature/ui components timeline custom fields
Minor style tidy-up setting config.assets.paths

`Rails.root` is a `Pathname` object.

HT: @plexus (https://twitter.com/plexus/status/445233243164782592)

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Require assets with logical paths, where possible

The latest versions of Sprockets parse `bower.json` and set-up the
logical path to be translated to the source file specified in the
'main' property.

N.B.
- the path for the main file of older versions of angular-ui-date is
  incorrect.
  See https://github.com/angular-ui/ui-date/commit/346e1e0126ec9f6fbe0e7f717a6d911d6c21525b.
- this is not yet working with Caret.js.
- 2.2.2.backport2 had broken support for Bower projects.
  See 960e2f5.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Revert "Temporarily add a local relative part to register ui components"

This reverts commit 7743b0e9cf848d43e4a15d309e3b6df2dc377e3f.