@@ -1028,38 +1028,38 @@ def memoized
1028
1028
1029
1029
# In order that the events finalized (time each block ended)
1030
1030
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 ) ,
1032
1032
filters : a_collection_containing_exactly ( an_instance_of ( Proc ) ) ,
1033
1033
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 ) ,
1035
1035
filters : [ ] ,
1036
1036
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 ) ,
1038
1038
filters : [ ] ,
1039
1039
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 ) ,
1042
1042
filters : [ ] ,
1043
1043
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 ) ,
1045
1045
env : an_instance_of ( Hash ) } )
1046
1046
)
1047
1047
1048
1048
# In order that events were initialized
1049
1049
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 ) ,
1051
1051
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 ) ,
1053
1053
filters : a_collection_containing_exactly ( an_instance_of ( Proc ) ) ,
1054
1054
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 ) ,
1056
1056
filters : [ ] ,
1057
1057
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 ) ,
1059
1059
filters : [ ] ,
1060
1060
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 ) ,
1063
1063
filters : [ ] ,
1064
1064
type : :after } )
1065
1065
)
0 commit comments