diaspora/spec/serializers/export/aspect_serializer_spec.rb
Benjamin Neff 4fa92c1823
Remove flag for contacts visible to each other
This feature only worked on the same pod and was more confusing than
useful.
2018-04-12 01:39:11 +02:00

13 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