FIX: Broken spec

This commit is contained in:
Robin Ward 2019-06-10 11:50:48 -04:00
parent 8c4e16eafd
commit ef37af5ab0

View File

@ -12,7 +12,7 @@ describe ReviewableFlaggedPostSerializer do
json = ReviewableFlaggedPostSerializer.new(reviewable, scope: Guardian.new(admin), root: nil).as_json
expect(json[:cooked]).to eq(p0.cooked)
expect(json[:raw]).to eq(p0.raw)
expect(json[:topic_url]).to eq(p0.url)
expect(json[:target_url]).to eq(p0.url)
end
it "works when the topic is deleted" do