File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 },
2020 "dependencies" : {},
2121 "devDependencies" : {
22- "grunt" : " * " ,
23- "grunt-contrib-jshint" : " * " ,
24- "grunt-contrib-uglify" : " * " ,
25- "grunt-update-submodules" : " * " ,
26- "chai" : " * " ,
22+ "grunt" : " 0.4.2 " ,
23+ "grunt-contrib-jshint" : " 0.8.0 " ,
24+ "grunt-contrib-uglify" : " 0.2.7 " ,
25+ "grunt-update-submodules" : " 0.2.1 " ,
26+ "chai" : " 1.8.1 " ,
2727 "mocha" : " ~1.7.4" ,
28- "should" : " * " ,
29- "jsdom" : " * "
28+ "should" : " 2.1.1 " ,
29+ "jsdom" : " 0.8.10 "
3030 },
3131 "scripts" : {
3232 "test" : " mocha test/spec/test.js"
Original file line number Diff line number Diff line change @@ -25,23 +25,23 @@ describe('JavaScript API', function () {
2525 } ) ;
2626
2727 it ( 'Should have a PAYPAL namespace' , function ( ) {
28- namespace . should . be . a ( 'object' ) ;
28+ namespace . should . be . an . Object ;
2929 } ) ;
3030
3131 it ( 'Should have a PAYPAL.apps namespace' , function ( ) {
32- namespace . apps . should . be . a ( 'object' ) ;
32+ namespace . apps . should . be . an . Object ;
3333 } ) ;
3434
3535 it ( 'Should have a PAYPAL.apps.ButtonFactory namespace' , function ( ) {
36- namespace . apps . ButtonFactory . should . be . a ( 'object' ) ;
36+ namespace . apps . ButtonFactory . should . be . an . Object ;
3737 } ) ;
3838
3939 it ( 'Should have a configuration object' , function ( ) {
40- namespace . apps . ButtonFactory . config . should . be . a ( 'object' ) ;
40+ namespace . apps . ButtonFactory . config . should . be . an . Object ;
4141 } ) ;
4242
4343 it ( 'Should have a create method' , function ( ) {
44- namespace . apps . ButtonFactory . create . should . be . a ( 'function' ) ;
44+ namespace . apps . ButtonFactory . create . should . be . a . Function ;
4545 } ) ;
4646
4747 it ( 'Create return false if no parameters' , function ( ) {
You can’t perform that action at this time.
0 commit comments