discourse/spec/serializers/basic_reviewable_serializer...

9 lines
210 B
Ruby

# frozen_string_literal: true
describe BasicReviewableSerializer do
fab!(:reviewable)
subject { described_class.new(reviewable, root: false).as_json }
include_examples "basic reviewable attributes"
end