@@ -20,11 +20,11 @@ describe('PostModel', function() {
2020
2121 post . should . have . property ( 'slug' ) ;
2222 post . slug . should . be . a . String ( ) ;
23- post . slug . should . be . eql ( 'This -is-a-new-post' ) ;
23+ post . slug . should . be . eql ( 'this -is-a-new-post' ) ;
2424
2525 post . should . have . property ( 'slugAuthor' ) ;
2626 post . slugAuthor . should . be . a . String ( ) ;
27- post . slugAuthor . should . be . eql ( 'Jeremie-Ledentu ' ) ;
27+ post . slugAuthor . should . be . eql ( 'jeremie-ledentu ' ) ;
2828 done ( ) ;
2929 } )
3030 . catch ( done ) ;
@@ -47,11 +47,11 @@ describe('PostModel', function() {
4747
4848 post . should . have . property ( 'slug' ) ;
4949 post . slug . should . be . a . String ( ) ;
50- post . slug . should . not . be . eql ( 'This -is-a-new-post' ) ;
50+ post . slug . should . not . be . eql ( 'this -is-a-new-post' ) ;
5151
5252 post . should . have . property ( 'slugAuthor' ) ;
5353 post . slugAuthor . should . be . a . String ( ) ;
54- post . slugAuthor . should . not . be . eql ( 'Jeremie-Ledentu ' ) ;
54+ post . slugAuthor . should . not . be . eql ( 'jeremie-ledentu ' ) ;
5555 done ( ) ;
5656 } )
5757 . catch ( done ) ;
@@ -66,13 +66,13 @@ describe('PostModel', function() {
6666 } ) ;
6767
6868 it ( 'should return the entity with given slug' , function ( done ) {
69- Post . findOneBySlug ( 'This -is-a-new-post' )
69+ Post . findOneBySlug ( 'this -is-a-new-post' )
7070 . then ( function ( post ) {
7171 post . should . have . property ( 'title' ) ;
7272 post . title . should . be . a . String ( ) ;
7373 post . title . should . be . eql ( 'This is a new post!!!' ) ;
7474 post . slug . should . be . a . String ( ) ;
75- post . slug . should . be . eql ( 'This -is-a-new-post' ) ;
75+ post . slug . should . be . eql ( 'this -is-a-new-post' ) ;
7676 done ( ) ;
7777 } )
7878 . catch ( done ) ;
0 commit comments