DEV: Refactor test to assert for actual content.

DEV: Refactor test to assert for actual content.

The other assertion is already asserting for Post#url and I think it makes the test clearer here.

diff --git a/spec/serializers/reviewable_flagged_post_serializer_spec.rb b/spec/serializers/reviewable_flagged_post_serializer_spec.rb
index 1165fe1..2c43bcc 100644
--- a/spec/serializers/reviewable_flagged_post_serializer_spec.rb
+++ b/spec/serializers/reviewable_flagged_post_serializer_spec.rb
@@ -8,8 +8,8 @@ describe ReviewableFlaggedPostSerializer do
     p0 = Fabricate(:post)
     reviewable = PostActionCreator.spam(Fabricate(:user), p0).reviewable
     json = ReviewableFlaggedPostSerializer.new(reviewable, scope: Guardian.new(admin), root: nil).as_json
-    expect(json[:cooked]).to be_present
-    expect(json[:raw]).to be_present
+    expect(json[:cooked]).to eq(p0.cooked)
+    expect(json[:raw]).to eq(p0.raw)
     expect(json[:topic_url]).to eq(p0.url)
   end

GitHub sha: a2e6a8a5