Commit Graph

30 Commits

Author SHA1 Message Date
David Baumgold
c628a8a360 Fix test 2013-05-22 15:55:53 -04:00
David Baumgold
9cbfee9894 Fix Jasmine tests related to invalid messages for section model 2013-05-22 15:55:53 -04:00
David Baumgold
2b01273f7f Added some Jasmine tests for section views in Backbone 2013-05-22 15:55:52 -04:00
David Baumgold
6ed5a2aa01 Added tests for Backbone section models 2013-05-22 15:55:52 -04:00
David Baumgold
56d8a467c8 Add tests for minShown and maxShown in views 2013-05-22 15:55:52 -04:00
David Baumgold
dc76d71c42 4-space indents for coffeescript 2013-05-22 15:55:52 -04:00
David Baumgold
4af3325976 Move display logic into view
Model shouldn't know about things like close buttons, visibility, and so on
2013-05-22 15:55:51 -04:00
David Baumgold
528987342a Add tests for primary and secondary CSS classes 2013-05-22 15:55:51 -04:00
David Baumgold
fedfe8627f Add tests for click events on views 2013-05-22 15:55:51 -04:00
David Baumgold
070d24cf61 Jasmine doesn't like asserting on the <body> element :( 2013-05-22 15:55:51 -04:00
David Baumgold
10ec604630 Got jasmine tests working with fixtures properly 2013-05-22 15:55:50 -04:00
David Baumgold
5275e41e4a Adding new feedback view tests 2013-05-22 15:55:50 -04:00
David Baumgold
39f81df476 Added a few more tests for feedback models 2013-05-22 15:55:50 -04:00
David Baumgold
e440580c79 Started writing Backbone tests
Hacking the Python, because our JS dependency management is borked.
2013-05-22 15:55:50 -04:00
cahrens
c01410626f Jasmine test for changedMetadata method. 2013-05-02 13:39:20 -04:00
Calen Pennington
255720abd7 Clean old javascript tests from CAS 2012-10-31 13:21:36 -04:00
Victor Shnayder
77175872cc Fix some of the CMS jasmine tests.
* still a few that I haven't tracked down...
2012-08-08 13:14:54 -04:00
Prem Sichanugrist
b8fd728e06 Pass in element in CMS.start() instead 2012-07-06 11:33:37 -04:00
Prem Sichanugrist
289599733d Make it more obvious that the function is no-op 2012-07-06 11:33:00 -04:00
Prem Sichanugrist
f71e54cc9b Removed unused Week Model 2012-07-06 11:28:02 -04:00
Prem Sichanugrist
95cf25c1dc Fix quote convention in tests 2012-07-06 00:35:00 -04:00
Prem Sichanugrist
9ba624683d Update Views.ModuleEdit, also added test 2012-07-06 00:32:50 -04:00
Prem Sichanugrist
dd3ddeb946 CMS.Views.Week is tested 2012-07-06 00:05:08 -04:00
Prem Sichanugrist
b11b916906 CMS.Views.Course fixed and tested 2012-07-05 23:40:40 -04:00
Prem Sichanugrist
4d4a856c4b CMS.Views.Module tested 2012-07-05 22:51:08 -04:00
Prem Sichanugrist
4d29c311c7 CMS.Views.WeekEdit tested 2012-07-05 22:50:23 -04:00
Prem Sichanugrist
8979b993ef Add blank spec for CMS.Models.Week 2012-07-05 21:33:19 -04:00
Prem Sichanugrist
fe17c37783 CMS.Models.Module tested 2012-07-05 21:31:32 -04:00
Prem Sichanugrist
68bb8d5874 Patch window.it to raise error on pending tests 2012-07-05 21:08:09 -04:00
Prem Sichanugrist
d6c033d675 main.coffee/CMS module tested 2012-07-05 19:42:10 -04:00