From e748d11bfd2232b77aeb5dae0d1e76ebb2988afb Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 9 Feb 2017 14:07:40 +0100 Subject: Update the column name transcrib_file to audio_name --- test/controllers/audio_file_controller_test.exs | 2 +- test/models/audio_file_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 -- cgit v1.2.1