mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 22:48:33 +08:00
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
|