mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 21:02:48 +08:00
FIX: Broken spec
This commit is contained in:
parent
8c4e16eafd
commit
ef37af5ab0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user