From 75301900b30622a8c92bfa1c6a54112ecc909755 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 10 Jul 2022 12:34:30 +0200 Subject: [PATCH] Correct time precision in `Exporter#collect_questions` test --- spec/lib/exporter_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/exporter_spec.rb b/spec/lib/exporter_spec.rb index 9ce348a1..04411964 100644 --- a/spec/lib/exporter_spec.rb +++ b/spec/lib/exporter_spec.rb @@ -84,7 +84,7 @@ RSpec.describe Exporter do answers: [], author_is_anonymous: q.author_is_anonymous, content: q.content, - created_at: q.created_at, + created_at: q.reload.created_at, id: q.id } end)