commonsmachinery/catalog — pull request #20 by Lexas (2014-04-28 04:17:26+00:00)
Title: Frontend tests

to test run make test in the root directory.

Currently not passing, causes are being addressed as issues:

1) Complete work metadata should get source metadata:
Uncaught Error: expected [Error: expected 503 to equal 200] to equal null

2) Work #put should return the updated work:
Error: expected Sat, 17 Jan 1970 04:30:57 GMT to be above Invalid Date

3) Source #put should return the updated source:
Error: expected Sat, 17 Jan 1970 04:30:57 GMT to be above Invalid Date

4) Source #put should reject invalid attributes:
Uncaught Error: expected '1398657622' to equal 1398657622

Issues for these failed tests cases:

https://github.com/commonsmachinery/catalog/issues/19
https://github.com/commonsmachinery/catalog/issues/18