Skip to content

Commit 1d3ff27

Browse files
committed
add public_on attribute to tests
1 parent ac3a3d4 commit 1d3ff27

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

spec/serializers/alchemy/json_api/page_serializer_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
expect(attributes[:language_code]).to eq("en")
3333
expect(attributes[:meta_keywords]).to eq("Meta Keywords")
3434
expect(attributes[:meta_description]).to eq("Meta Description")
35+
expect(attributes[:public_on]).to eq(page.public_on)
3536
expect(attributes[:created_at]).to eq(page.created_at)
3637
expect(attributes[:updated_at]).to eq(page.updated_at)
3738
expect(attributes[:legacy_urls]).to eq(["/other"])

0 commit comments

Comments
 (0)