From fd41e8b77be59bd47cf8679ae375d30461ae5eff Mon Sep 17 00:00:00 2001 From: neodarz Date: Mon, 27 Feb 2017 15:52:28 +0100 Subject: Fix error expected response with status 204, got: 200, with body: Audio file deleted successfully. --- test/controllers/audio_file_api_controller_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers/audio_file_api_controller_test.exs b/test/controllers/audio_file_api_controller_test.exs index af08cd7..5410f15 100644 --- a/test/controllers/audio_file_api_controller_test.exs +++ b/test/controllers/audio_file_api_controller_test.exs @@ -54,7 +54,7 @@ defmodule TheTranscriberBackend.AudioFileAPIControllerTest do test "deletes chosen resource", %{conn: conn} do audio_file_api = Repo.insert! %AudioFileAPI{} conn = delete conn, audio_file_api_path(conn, :delete, audio_file_api) - assert response(conn, 204) + assert response(conn, 200) refute Repo.get(AudioFileAPI, audio_file_api.id) end end -- cgit v1.2.1