mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 03:41:54 +08:00
This commit is a subset of the changes proposed in https://github.com/discourse/discourse/pull/17379.
8 lines
237 B
Ruby
Vendored
8 lines
237 B
Ruby
Vendored
# 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
|