mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 23:26:41 +08:00

This commit is a subset of the changes proposed in https://github.com/discourse/discourse/pull/17379.
9 lines
237 B
Ruby
9 lines
237 B
Ruby
# frozen_string_literal: true
|
|
|
|
describe BasicReviewableSerializer do
|
|
fab!(:reviewable) { Fabricate(:reviewable) }
|
|
subject { described_class.new(reviewable, root: false).as_json }
|
|
|
|
include_examples "basic reviewable attributes"
|
|
end
|