File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1414
1515 context '#list_services' do
1616 it do
17- expect ( http_client ) . to receive ( :get ) . with ( '/admin/api/services' ) . and_return ( 'services' => [ ] )
17+ expect ( http_client ) . to receive ( :get ) . with ( '/admin/api/services' , params : nil ) . and_return ( 'services' => [ ] )
1818 expect ( client . list_services ) . to eq ( [ ] )
1919 end
2020 end
11241124 let ( :resp_body ) { { 'backend_apis' => backend_apis . map { |b | { 'backend_api' => b } } } }
11251125
11261126 it do
1127- expect ( http_client ) . to receive ( :get ) . with ( '/admin/api/backend_apis' ) . and_return ( resp_body )
1127+ expect ( http_client ) . to receive ( :get ) . with ( '/admin/api/backend_apis' , params : nil ) . and_return ( resp_body )
11281128 expect ( client . list_backends ) . to match_array ( backend_apis )
11291129 end
11301130 end
You can’t perform that action at this time.
0 commit comments