summaryrefslogtreecommitdiff
path: root/spec/serializers/evidences/evidence_entity_spec.rb
blob: 531708e3be676b173210031ff379d1251af034b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require 'spec_helper'

describe Evidences::EvidenceEntity do
  let(:evidence) { build(:evidence) }
  let(:entity) { described_class.new(evidence) }

  subject { entity.as_json }

  it 'exposes the expected fields' do
    expect(subject.keys).to contain_exactly(:release)
  end
end