From 1d3ff27092a4eef682046692126c6ae1e5687654 Mon Sep 17 00:00:00 2001 From: Niklas Bichinger Date: Sun, 3 Sep 2023 14:49:08 +0200 Subject: [PATCH] add public_on attribute to tests --- spec/serializers/alchemy/json_api/page_serializer_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/serializers/alchemy/json_api/page_serializer_spec.rb b/spec/serializers/alchemy/json_api/page_serializer_spec.rb index 678f9dc..7a4050f 100644 --- a/spec/serializers/alchemy/json_api/page_serializer_spec.rb +++ b/spec/serializers/alchemy/json_api/page_serializer_spec.rb @@ -32,6 +32,7 @@ expect(attributes[:language_code]).to eq("en") expect(attributes[:meta_keywords]).to eq("Meta Keywords") expect(attributes[:meta_description]).to eq("Meta Description") + expect(attributes[:public_on]).to eq(page.public_on) expect(attributes[:created_at]).to eq(page.created_at) expect(attributes[:updated_at]).to eq(page.updated_at) expect(attributes[:legacy_urls]).to eq(["/other"])