File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ module V3
450450 let ( :state ) { 'failed' }
451451
452452 it 'does not notify diego or create an audit event' do
453- expect { action . poll ( binding ) } . to raise_error ( VCAP :: CloudController ::V3 :: LastOperationFailedState )
453+ expect { action . poll ( binding ) } . to raise_error ( CloudController ::Errors :: ApiError )
454454
455455 expect ( messenger ) . not_to have_received ( :send_desire_request )
456456 expect ( binding_event_repo ) . not_to have_received ( :record_create )
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ module V3
183183 let ( :state ) { 'failed' }
184184
185185 it 'does not notify diego or create an audit event' do
186- expect { action . poll ( binding ) } . to raise_error ( VCAP :: CloudController ::V3 :: LastOperationFailedState )
186+ expect { action . poll ( binding ) } . to raise_error ( CloudController ::Errors :: ApiError )
187187
188188 expect ( RouteBinding . first ) . to eq ( binding )
189189 expect ( messenger ) . not_to have_received ( :send_desire_request )
You can’t perform that action at this time.
0 commit comments