@@ -1543,7 +1543,7 @@ def check_filtered_bindings(*bindings)
15431543 'title' => 'CF-UnprocessableEntity' ,
15441544 'code' => 10008 ,
15451545 } ) )
1546- end
1546+ end
15471547
15481548 context 'when the service instance does not exist' do
15491549 let ( :service_instance_guid ) { 'fake-instance' }
@@ -1570,14 +1570,14 @@ def check_filtered_bindings(*bindings)
15701570 let ( :space_dev_headers ) { headers_for ( space_user ) }
15711571
15721572 it 'returns a 422' do
1573- api_call . call space_dev_headers
1574- expect ( last_response ) . to have_status_code ( 422 )
1575- expect ( parsed_response [ 'errors' ] ) . to include ( include ( {
1576- 'detail' => include ( "The service instance could not be found: '#{ service_instance_guid } '" ) ,
1577- 'title' => 'CF-UnprocessableEntity' ,
1578- 'code' => 10008 ,
1579- } ) )
1580- end
1573+ api_call . call space_dev_headers
1574+ expect ( last_response ) . to have_status_code ( 422 )
1575+ expect ( parsed_response [ 'errors' ] ) . to include ( include ( {
1576+ 'detail' => include ( "The service instance could not be found: '#{ service_instance_guid } '" ) ,
1577+ 'title' => 'CF-UnprocessableEntity' ,
1578+ 'code' => 10008 ,
1579+ } ) )
1580+ end
15811581 end
15821582
15831583 context 'when the service instance is user-provided' do
@@ -1604,7 +1604,7 @@ def check_filtered_bindings(*bindings)
16041604
16051605 expect ( last_response ) . to have_status_code ( 422 )
16061606 expect ( parsed_response [ 'errors' ] ) . to include ( include ( {
1607- 'detail' => include ( " Service plan does not allow bindings." ) ,
1607+ 'detail' => include ( ' Service plan does not allow bindings.' ) ,
16081608 'title' => 'CF-UnprocessableEntity' ,
16091609 'code' => 10008 ,
16101610 } ) )
@@ -1620,7 +1620,7 @@ def check_filtered_bindings(*bindings)
16201620
16211621 expect ( last_response ) . to have_status_code ( 422 )
16221622 expect ( parsed_response [ 'errors' ] ) . to include ( include ( {
1623- 'detail' => include ( " Service plan is not available." ) ,
1623+ 'detail' => include ( ' Service plan is not available.' ) ,
16241624 'title' => 'CF-UnprocessableEntity' ,
16251625 'code' => 10008 ,
16261626 } ) )
0 commit comments