1
0
Fork 0
Dieser Commit ist enthalten in:
merefield 2021-10-19 13:09:11 +01:00
Ursprung deb4460d2c
Commit 487ad3c46d

Datei anzeigen

@ -311,7 +311,7 @@ describe CustomWizard::Action do
result = CustomWizard::Api::Endpoint.request("my_api", endpoint_id, "some_body") result = CustomWizard::Api::Endpoint.request("my_api", endpoint_id, "some_body")
log_entry = CustomWizard::Api::LogEntry.list("my_api").first log_entry = CustomWizard::Api::LogEntry.list("my_api").first
expect(result).to eq('failure') expect(result).to eq({:error=>"API request failed"})
expect(log_entry.status).to eq('FAILURE') expect(log_entry.status).to eq('FAILURE')
end end
end end