Compare commits
1 commit
a2dfdccef3
...
4308368c91
| Author | SHA1 | Date | |
|---|---|---|---|
| 4308368c91 |
1 changed files with 2 additions and 2 deletions
|
|
@ -187,7 +187,7 @@ defmodule MvWeb.MemberExportControllerTest do
|
||||||
assert get_resp_header(conn, "content-type") |> List.first() =~ "text/csv"
|
assert get_resp_header(conn, "content-type") |> List.first() =~ "text/csv"
|
||||||
body = response(conn, 200)
|
body = response(conn, 200)
|
||||||
lines = export_lines(body)
|
lines = export_lines(body)
|
||||||
assert lines != []
|
assert length(lines) >= 1
|
||||||
assert hd(lines) =~ "First Name"
|
assert hd(lines) =~ "First Name"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -740,7 +740,7 @@ defmodule MvWeb.MemberExportControllerTest do
|
||||||
assert get_resp_header(conn, "content-type") |> List.first() =~ "text/csv"
|
assert get_resp_header(conn, "content-type") |> List.first() =~ "text/csv"
|
||||||
body = response(conn, 200)
|
body = response(conn, 200)
|
||||||
lines = export_lines(body)
|
lines = export_lines(body)
|
||||||
assert lines != []
|
assert length(lines) >= 1
|
||||||
assert hd(lines) =~ "First Name"
|
assert hd(lines) =~ "First Name"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue