@@ -236,7 +236,7 @@ describe('Jasmine', function() {
236
236
this . configObject . stopSpecOnExpectationFailure = true ;
237
237
this . fixtureJasmine . loadConfig ( this . configObject ) ;
238
238
239
- expect ( this . fixtureJasmine . env . configure ) . toHaveBeenCalledWith ( { oneFailurePerSpec : true } ) ;
239
+ expect ( this . fixtureJasmine . env . configure ) . toHaveBeenCalledWith ( { stopSpecOnExpectationFailure : true } ) ;
240
240
} ) ;
241
241
242
242
it ( 'does not configure jasmine-core for stopping spec on expectation failure by default' , function ( ) {
@@ -249,7 +249,7 @@ describe('Jasmine', function() {
249
249
this . configObject . stopOnSpecFailure = true ;
250
250
this . fixtureJasmine . loadConfig ( this . configObject ) ;
251
251
252
- expect ( this . fixtureJasmine . env . configure ) . toHaveBeenCalledWith ( { failFast : true } ) ;
252
+ expect ( this . fixtureJasmine . env . configure ) . toHaveBeenCalledWith ( { stopOnSpecFailure : true } ) ;
253
253
} ) ;
254
254
255
255
it ( 'does not configure jasmine-core for stopping execution by default' , function ( ) {
@@ -387,16 +387,16 @@ describe('Jasmine', function() {
387
387
} ) ;
388
388
389
389
describe ( '#stopSpecOnExpectationFailure' , function ( ) {
390
- it ( 'sets the throwOnExpectationFailure value on the jasmine-core env' , function ( ) {
390
+ it ( 'sets the stopSpecOnExpectationFailure value on the jasmine-core env' , function ( ) {
391
391
this . testJasmine . stopSpecOnExpectationFailure ( 'foobar' ) ;
392
- expect ( this . testJasmine . env . configure ) . toHaveBeenCalledWith ( { oneFailurePerSpec : 'foobar' } ) ;
392
+ expect ( this . testJasmine . env . configure ) . toHaveBeenCalledWith ( { stopSpecOnExpectationFailure : 'foobar' } ) ;
393
393
} ) ;
394
394
} ) ;
395
395
396
396
describe ( '#stopOnSpecFailure' , function ( ) {
397
397
it ( 'sets the stopOnSpecFailure value on the jasmine-core env' , function ( ) {
398
398
this . testJasmine . stopOnSpecFailure ( 'blah' ) ;
399
- expect ( this . testJasmine . env . configure ) . toHaveBeenCalledWith ( { failFast : 'blah' } ) ;
399
+ expect ( this . testJasmine . env . configure ) . toHaveBeenCalledWith ( { stopOnSpecFailure : 'blah' } ) ;
400
400
} ) ;
401
401
} ) ;
402
402
0 commit comments