discourse/spec/serializers/basic_reviewable_serializer...

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