mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 08:03:40 +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
|