mirror of
https://github.com/diaspora/diaspora.git
synced 2026-01-09 15:18:11 -05:00
14 lines
338 B
Ruby
14 lines
338 B
Ruby
# frozen_string_literal: true
|
|
|
|
describe Export::AspectSerializer do
|
|
let(:aspect) { FactoryGirl.create(:aspect) }
|
|
let(:serializer) { Export::AspectSerializer.new(aspect) }
|
|
|
|
it "has aspect attributes" do
|
|
expect(serializer.attributes).to eq(
|
|
name: aspect.name,
|
|
chat_enabled: aspect.chat_enabled
|
|
)
|
|
end
|
|
end
|