Improve JS resource model tests for Markdown support.

Review Request #6478 — Created Oct. 21, 2014 and submitted

Information

Review Board
release-2.0.x
0c54725...

Reviewers

This adds some new unit tests to better test the richText values for
some resource models, ensuring that what we pass in will correctly get
serialized for any API calls.

Unit tests pass.

reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/resources/models/tests/reviewModelTests.js
        reviewboard/static/rb/js/resources/models/tests/reviewReplyModelTests.js
        reviewboard/static/rb/js/resources/models/tests/baseCommentReplyModelTests.js
        reviewboard/static/rb/js/resources/models/tests/baseCommentModelTests.js
        reviewboard/static/rb/js/resources/models/reviewRequestModel.js
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/resources/models/tests/reviewModelTests.js
        reviewboard/static/rb/js/resources/models/tests/reviewReplyModelTests.js
        reviewboard/static/rb/js/resources/models/tests/baseCommentReplyModelTests.js
        reviewboard/static/rb/js/resources/models/tests/baseCommentModelTests.js
        reviewboard/static/rb/js/resources/models/reviewRequestModel.js
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to markdown-redesign (b4ef5cd)