mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 05:26:15 +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
|