@@ -25,20 +25,20 @@ describe("About inheritance", function() {
2525 } ) ;
2626
2727 it ( "should be able to call a method on the derived object" , function ( ) {
28- expect ( this . swedishChef . cook ( ) ) . toEqual ( FILL_ME_IN ) ;
28+ expect ( this . swedishChef . cook ( ) ) . toEqual ( 'Mmmm soup!' ) ;
2929 } ) ;
3030
3131 it ( "should be able to call a method on the base object" , function ( ) {
32- expect ( this . swedishChef . answerNanny ( ) ) . toEqual ( FILL_ME_IN ) ;
32+ expect ( this . swedishChef . answerNanny ( ) ) . toEqual ( "Everything's cool!" ) ;
3333 } ) ;
3434
3535 it ( "should set constructor parameters on the base object" , function ( ) {
36- expect ( this . swedishChef . age ) . toEqual ( FILL_ME_IN ) ;
37- expect ( this . swedishChef . hobby ) . toEqual ( FILL_ME_IN ) ;
36+ expect ( this . swedishChef . age ) . toEqual ( 2 ) ;
37+ expect ( this . swedishChef . hobby ) . toEqual ( 'cooking' ) ;
3838 } ) ;
3939
4040 it ( "should set constructor parameters on the derived object" , function ( ) {
41- expect ( this . swedishChef . mood ) . toEqual ( FILL_ME_IN ) ;
41+ expect ( this . swedishChef . mood ) . toEqual ( 'chillin' ) ;
4242 } ) ;
4343} ) ;
4444
@@ -71,19 +71,19 @@ describe("About Crockford's inheritance improvement", function() {
7171 } ) ;
7272
7373 it ( "should be able to call a method on the derived object" , function ( ) {
74- expect ( this . gonzo . doTrick ( ) ) . toEqual ( FILL_ME_IN ) ;
74+ expect ( this . gonzo . doTrick ( ) ) . toEqual ( 'eat a tire' ) ;
7575 } ) ;
7676
7777 it ( "should be able to call a method on the base object" , function ( ) {
78- expect ( this . gonzo . answerNanny ( ) ) . toEqual ( FILL_ME_IN ) ;
78+ expect ( this . gonzo . answerNanny ( ) ) . toEqual ( "Everything's cool!" ) ;
7979 } ) ;
8080
8181 it ( "should set constructor parameters on the base object" , function ( ) {
82- expect ( this . gonzo . age ) . toEqual ( FILL_ME_IN ) ;
83- expect ( this . gonzo . hobby ) . toEqual ( FILL_ME_IN ) ;
82+ expect ( this . gonzo . age ) . toEqual ( 3 ) ;
83+ expect ( this . gonzo . hobby ) . toEqual ( 'daredevil performer' ) ;
8484 } ) ;
8585
8686 it ( "should set constructor parameters on the derived object" , function ( ) {
87- expect ( this . gonzo . trick ) . toEqual ( FILL_ME_IN ) ;
87+ expect ( this . gonzo . trick ) . toEqual ( 'eat a tire' ) ;
8888 } ) ;
8989} ) ;
0 commit comments