From e2ee3aaaec608c01952cdb62e3e9f89a58f1cb31 Mon Sep 17 00:00:00 2001 From: SimonLab Date: Mon, 20 Apr 2020 15:27:32 +0100 Subject: [PATCH] add tag to test capture, #14 --- test/app_api/captures_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/app_api/captures_test.exs b/test/app_api/captures_test.exs index c0af23f..cbf1c8b 100644 --- a/test/app_api/captures_test.exs +++ b/test/app_api/captures_test.exs @@ -6,7 +6,7 @@ defmodule AppApi.CapturesTest do describe "captures" do alias AppApi.Captures.Capture - @valid_attrs %{completed: true, id_person: 42, text: "some text", tags: ""} + @valid_attrs %{completed: true, id_person: 42, text: "some text", tags: "tag1, tag2"} @update_attrs %{completed: false, id_person: 43, text: "some updated text", tags: "" } @invalid_attrs %{completed: nil, id_person: nil, text: nil, tags: ""}