File tree Expand file tree Collapse file tree 1 file changed +28
-28
lines changed Expand file tree Collapse file tree 1 file changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -36,37 +36,37 @@ describe("app", function() {
36
36
} )
37
37
. run ( ) ;
38
38
} ) ;
39
+ } ) ;
39
40
40
- describe ( "when the user asks to see the menu again" , function ( ) {
41
- it ( "should show the menu again" , function ( ) {
42
- return tester
43
- . setup . user . state ( 'states:start' )
44
- . input ( '1' )
45
- . check . interaction ( {
46
- state : 'states:start' ,
47
- reply : [
48
- 'Hi there! What do you want to do?' ,
49
- '1. Show this menu again' ,
50
- '2. Exit'
51
- ] . join ( '\n' )
52
- } )
53
- . run ( ) ;
54
- } ) ;
41
+ describe ( "when the user asks to see the menu again" , function ( ) {
42
+ it ( "should show the menu again" , function ( ) {
43
+ return tester
44
+ . setup . user . state ( 'states:start' )
45
+ . input ( '1' )
46
+ . check . interaction ( {
47
+ state : 'states:start' ,
48
+ reply : [
49
+ 'Hi there! What do you want to do?' ,
50
+ '1. Show this menu again' ,
51
+ '2. Exit'
52
+ ] . join ( '\n' )
53
+ } )
54
+ . run ( ) ;
55
55
} ) ;
56
+ } ) ;
56
57
57
- describe ( "when the user asks to exit" , function ( ) {
58
- it ( "should say thank you and end the session" , function ( ) {
59
- return tester
60
- . setup . user . state ( 'states:start' )
61
- . input ( '2' )
62
- . check . interaction ( {
63
- state : 'states:start' ,
64
- reply : [
65
- 'Thanks, cheers!'
66
- ] . join ( '\n' )
67
- } )
68
- . run ( ) ;
69
- } ) ;
58
+ describe ( "when the user asks to exit" , function ( ) {
59
+ it ( "should say thank you and end the session" , function ( ) {
60
+ return tester
61
+ . setup . user . state ( 'states:start' )
62
+ . input ( '2' )
63
+ . check . interaction ( {
64
+ state : 'states:start' ,
65
+ reply : [
66
+ 'Thanks, cheers!'
67
+ ] . join ( '\n' )
68
+ } )
69
+ . run ( ) ;
70
70
} ) ;
71
71
} ) ;
72
72
} ) ;
You can’t perform that action at this time.
0 commit comments