Dotclear

Changeset 1703:512d631f31bd


Ignore:
Timestamp:
09/03/13 22:42:51 (10 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

[Tests]
Add test for postsActionsHelper method
commentsActionsHelper is almost the same.
Need refactoring to make only one method with parameters

Update describe fields for specifications

Location:
tests/functional
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • tests/functional/index.html

    r1602 r1703  
    1717    <script type="text/javascript" src="spec/users_actions.js"></script> 
    1818    <script type="text/javascript" src="spec/toggle_with_legend.js"></script> 
     19 
     20    <script type="text/javascript" src="spec/common.js"></script> 
    1921  </head> 
    2022  <body> 
  • tests/functional/js/fix_include.js

    r1602 r1703  
    88jQuery.fn.backgroundFade = function() {}; 
    99 
     10dotclear.msg.confirm_delete_posts = 'confirm %s delete'; 
     11dotclear.msg.confirm_delete_comments = 'confirm %s delete'; 
  • tests/functional/spec/toggle_with_legend.js

    r1606 r1703  
    1 describe("Label clickable", function() { 
     1describe("toggleWithLegend method (admin/js/common.js)", function() { 
    22    it("Click arrow must make target visible", function() { 
    33     loadFixtures('menu.html'); 
  • tests/functional/spec/users_actions.js

    r1602 r1703  
    1 describe("Permissions feature", function() { 
     1describe("updatePermissionsForm method (admin/js/_users_actions.js)", function() { 
    22    it("Click admin persmission must checked all associated permissions", function() { 
    33     loadFixtures('normal.html'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map