From 347470114675c8b60c96358853f1863565afed08 Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Fri, 8 Mar 2019 12:44:54 +0200 Subject: [PATCH] DEV: Fix build. --- spec/components/post_creator_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/components/post_creator_spec.rb b/spec/components/post_creator_spec.rb index 2fe93452b72..86ebf54ba1c 100644 --- a/spec/components/post_creator_spec.rb +++ b/spec/components/post_creator_spec.rb @@ -1278,7 +1278,7 @@ describe PostCreator do old_post = Fabricate(:post, user: returning_user, created_at: 31.days.ago) post = PostCreator.create(returning_user, title: "this is a returning topic", raw: "this is a post") expect(post.custom_fields["post_notice_type"]).to eq("returning") - expect(post.custom_fields["post_notice_time"]).to eq(old_post.created_at.to_s) + expect(post.custom_fields["post_notice_time"]).to eq(old_post.created_at.iso8601) end it "does not generate post notices" do