File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
22
group_id = 'abc-123-group-id'
23
23
24
24
response = double ( group_id : group_id )
25
- expect ( aws_client ) . to receive ( :get_group_id ) . with (
25
+ expect ( aws_client ) . to receive ( :get_group_id ) . with ( {
26
26
identity_store_id : identity_store_id ,
27
27
alternate_identifier : {
28
28
unique_attribute : {
29
29
attribute_path : 'displayName' ,
30
30
attribute_value : group_name
31
31
}
32
32
}
33
- ) . and_return ( response )
33
+ } ) . and_return ( response )
34
34
35
35
expect ( finder . find ( reference ) ) . to eq ( group_id )
36
36
end
60
60
group_id = 'fallback-region-group-id'
61
61
response = double ( group_id : group_id )
62
62
63
- expect ( aws_client ) . to receive ( :get_group_id ) . with (
63
+ expect ( aws_client ) . to receive ( :get_group_id ) . with ( {
64
64
identity_store_id : identity_store_id ,
65
65
alternate_identifier : {
66
66
unique_attribute : {
67
67
attribute_path : 'displayName' ,
68
68
attribute_value : group_name
69
69
}
70
70
}
71
- ) . and_return ( response )
71
+ } ) . and_return ( response )
72
72
73
73
expect ( finder . find ( reference_without_region ) ) . to eq ( group_id )
74
74
end
You can’t perform that action at this time.
0 commit comments