aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-02-09 14:07:40 +0100
committerneodarz <neodarz@neodarz.net>2017-02-09 14:07:40 +0100
commite748d11bfd2232b77aeb5dae0d1e76ebb2988afb (patch)
treea30329b2fbab4dd583761f729f20d7bffa447cf9 /test
parente455009b1872815c4fad91c389af9f7a27a6ba28 (diff)
downloadthe_transcriber_backend-e748d11bfd2232b77aeb5dae0d1e76ebb2988afb.tar.xz
the_transcriber_backend-e748d11bfd2232b77aeb5dae0d1e76ebb2988afb.zip
Update the column name transcrib_file to audio_name
Diffstat (limited to '')
-rw-r--r--test/controllers/audio_file_controller_test.exs2
-rw-r--r--test/models/audio_file_test.exs2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/controllers/audio_file_controller_test.exs b/test/controllers/audio_file_controller_test.exs
index e1df494..8c2b9d6 100644
--- a/test/controllers/audio_file_controller_test.exs
+++ b/test/controllers/audio_file_controller_test.exs
@@ -2,7 +2,7 @@ defmodule TheTranscriberBackend.AudioFileControllerTest do
use TheTranscriberBackend.ConnCase
alias TheTranscriberBackend.AudioFile
- @valid_attrs %{audio_duration: "some content", audio_path: "some content", transcription_file_path: "some content"}
+ @valid_attrs %{audio_duration: "some content", audio_path: "some content", audio_name: "some content"}
@invalid_attrs %{}
test "lists all entries on index", %{conn: conn} do
diff --git a/test/models/audio_file_test.exs b/test/models/audio_file_test.exs
index 749cf4e..c9e0189 100644
--- a/test/models/audio_file_test.exs
+++ b/test/models/audio_file_test.exs
@@ -3,7 +3,7 @@ defmodule TheTranscriberBackend.AudioFileTest do
alias TheTranscriberBackend.AudioFile
- @valid_attrs %{audio_duration: "some content", audio_path: "some content", transcription_file_path: "some content"}
+ @valid_attrs %{audio_duration: "some content", audio_path: "some content", audio_name: "some content"}
@invalid_attrs %{}
test "changeset with valid attributes" do