We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f7c41 commit 7ab63e8Copy full SHA for 7ab63e8
spec/lem_spec.rb
@@ -114,4 +114,25 @@
114
expect(error.msg).to eq('Legal entity not found ErrorCode: 100')
115
end
116
117
+
118
+ it 'makes a LegaleEntity /requestPeriodicReview call' do
119
+ url = @shared_values[:client].service_url(@shared_values[:service], "legalEntities/LE123/requestPeriodicReview",
120
+ @shared_values[:client].legal_entity_management.version)
121
+ WebMock.stub_request(:post, url)
122
+ .with(
123
+ headers: {
124
+ 'x-api-key' => @shared_values[:client].api_key
125
+ }
126
+ )
127
+ .to_return(
128
+ body: '{}'
129
130
131
+ result = @shared_values[:client].legal_entity_management.legal_entities_api.request_periodic_review('LE123')
132
+ result.response
133
134
+ expect(result.status)
135
+ .to eq(200)
136
+ end
137
138
0 commit comments