@@ -49,7 +49,7 @@ describe('config', function () {
49
49
var app = express ( ) ;
50
50
assert . strictEqual ( app . get ( 'foo' ) , undefined ) ;
51
51
} )
52
-
52
+
53
53
it ( 'should otherwise return the value' , function ( ) {
54
54
var app = express ( ) ;
55
55
app . set ( 'foo' , 'bar' ) ;
@@ -125,34 +125,34 @@ describe('config', function () {
125
125
assert . strictEqual ( app . get ( 'tobi' ) , true ) ;
126
126
} )
127
127
} )
128
-
128
+
129
129
describe ( '.disable()' , function ( ) {
130
130
it ( 'should set the value to false' , function ( ) {
131
131
var app = express ( ) ;
132
132
assert . equal ( app . disable ( 'tobi' ) , app ) ;
133
133
assert . strictEqual ( app . get ( 'tobi' ) , false ) ;
134
134
} )
135
135
} )
136
-
136
+
137
137
describe ( '.enabled()' , function ( ) {
138
138
it ( 'should default to false' , function ( ) {
139
139
var app = express ( ) ;
140
140
assert . strictEqual ( app . enabled ( 'foo' ) , false ) ;
141
141
} )
142
-
142
+
143
143
it ( 'should return true when set' , function ( ) {
144
144
var app = express ( ) ;
145
145
app . set ( 'foo' , 'bar' ) ;
146
146
assert . strictEqual ( app . enabled ( 'foo' ) , true ) ;
147
147
} )
148
148
} )
149
-
149
+
150
150
describe ( '.disabled()' , function ( ) {
151
151
it ( 'should default to true' , function ( ) {
152
152
var app = express ( ) ;
153
153
assert . strictEqual ( app . disabled ( 'foo' ) , true ) ;
154
154
} )
155
-
155
+
156
156
it ( 'should return false when set' , function ( ) {
157
157
var app = express ( ) ;
158
158
app . set ( 'foo' , 'bar' ) ;
0 commit comments