discourse/spec/serializers/basic_reviewable_serializer_spec.rb
2022-07-28 11:16:33 +03:00

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