diff options
author | neodarz <neodarz@neodarz.net> | 2017-02-27 15:52:28 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2017-02-27 15:52:28 +0100 |
commit | fd41e8b77be59bd47cf8679ae375d30461ae5eff (patch) | |
tree | 7287832383a6560fde7a3896c33be38899a3dfba /test/controllers | |
parent | 16e2015fbb886070388620b4d28aa3424c1d2057 (diff) | |
download | the_transcriber_backend-fd41e8b77be59bd47cf8679ae375d30461ae5eff.tar.xz the_transcriber_backend-fd41e8b77be59bd47cf8679ae375d30461ae5eff.zip |
Fix error expected response with status 204, got: 200, with body: Audio file deleted successfully.
Diffstat (limited to '')
-rw-r--r-- | test/controllers/audio_file_api_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |