@@ -1028,38 +1028,38 @@ def memoized
10281028
10291029 # In order that the events finalized (time each block ended)
10301030 expect ( @events ) . to contain_exactly (
1031- have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1031+ have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10321032 filters : a_collection_containing_exactly ( an_instance_of ( Proc ) ) ,
10331033 type : :before } ) ,
1034- have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1034+ have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10351035 filters : [ ] ,
10361036 type : :before_validation } ) ,
1037- have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1037+ have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10381038 filters : [ ] ,
10391039 type : :after_validation } ) ,
1040- have_attributes ( name : 'endpoint_render.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) } ) ,
1041- have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1040+ have_attributes ( name : 'endpoint_render.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) } ) ,
1041+ have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10421042 filters : [ ] ,
10431043 type : :after } ) ,
1044- have_attributes ( name : 'endpoint_run.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1044+ have_attributes ( name : 'endpoint_run.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10451045 env : an_instance_of ( Hash ) } )
10461046 )
10471047
10481048 # In order that events were initialized
10491049 expect ( @events . sort_by ( &:time ) ) . to contain_exactly (
1050- have_attributes ( name : 'endpoint_run.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1050+ have_attributes ( name : 'endpoint_run.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10511051 env : an_instance_of ( Hash ) } ) ,
1052- have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1052+ have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10531053 filters : a_collection_containing_exactly ( an_instance_of ( Proc ) ) ,
10541054 type : :before } ) ,
1055- have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1055+ have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10561056 filters : [ ] ,
10571057 type : :before_validation } ) ,
1058- have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1058+ have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10591059 filters : [ ] ,
10601060 type : :after_validation } ) ,
1061- have_attributes ( name : 'endpoint_render.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) } ) ,
1062- have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : an_instance_of ( Grape ::Endpoint ) ,
1061+ have_attributes ( name : 'endpoint_render.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) } ) ,
1062+ have_attributes ( name : 'endpoint_run_filters.grape' , payload : { endpoint : a_kind_of ( Grape ::Endpoint ) ,
10631063 filters : [ ] ,
10641064 type : :after } )
10651065 )
0 commit comments