Commit bd180145 authored by Mikko Ahlroth's avatar Mikko Ahlroth

Fix changed CSV in tests

parent 8c17acfc
Pipeline #39481070 failed with stage
in 6 minutes and 29 seconds
......@@ -45,10 +45,8 @@ defmodule CodeStatsWeb.PulseControllerTest do
assert conn.resp_headers
|> contains?("content-disposition", "attachment; filename=\"pulses.csv\"")
assert conn.resp_body =~ "sent_at;sent_at_local;tz_offset;language;machine;amount\n"
assert conn.resp_body =~
"2017-11-27 23:00:00.000000Z;2017-11-28 00:00:00.000000;60;elixir;test_machine;1\n"
assert conn.resp_body ==
"sent_at;sent_at_local;tz_offset;language;machine;amount\n2017-11-27 23:00:00Z;2017-11-28 00:00:00;60;elixir;test_machine;1\n"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment