aboutsummaryrefslogtreecommitdiff
path: root/test/models/audio_file_api_test.exs
blob: 028befab4de00b681c68df458b2d5be7431fb95e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
defmodule TheTranscriberBackend.AudioFileAPITest do
  use TheTranscriberBackend.ModelCase

  alias TheTranscriberBackend.AudioFileAPI

  @valid_attrs %{}
  @invalid_attrs %{}

  test "changeset with valid attributes" do
    changeset = AudioFileAPI.changeset(%AudioFileAPI{}, @valid_attrs)
    assert changeset.valid?
  end

  test "changeset with invalid attributes" do
    changeset = AudioFileAPI.changeset(%AudioFileAPI{}, @invalid_attrs)
    refute changeset.valid?
  end
end