diff options
Diffstat (limited to 'spec/serializers/evidences/author_entity_spec.rb')
-rw-r--r-- | spec/serializers/evidences/author_entity_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/serializers/evidences/author_entity_spec.rb b/spec/serializers/evidences/author_entity_spec.rb deleted file mode 100644 index 1d0fa95217c..00000000000 --- a/spec/serializers/evidences/author_entity_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -describe Evidences::AuthorEntity do - let(:entity) { described_class.new(build(:author)) } - - subject { entity.as_json } - - it 'exposes the expected fields' do - expect(subject.keys).to contain_exactly(:id, :name, :email) - end -end |