discourse/spec/serializers/basic_reviewable_serializer_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
237 B
Ruby
Raw Normal View History

# 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