mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 09:36:19 +08:00
988a175e94
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
|