Fix test
Dieser Commit ist enthalten in:
Ursprung
deb4460d2c
Commit
487ad3c46d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren