Skip to content

Commit

Permalink
add public_on attribute to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gr8bit committed Sep 3, 2023
1 parent ac3a3d4 commit 1d3ff27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/serializers/alchemy/json_api/page_serializer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 1d3ff27

Please sign in to comment.