Welcome to mirror list, hosted at ThFree Co, Russian Federation.

null_target_spec.rb « audit « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9197b72afd0f4f6a4ebcd79ac776aef957dd9856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true

require 'fast_spec_helper'

RSpec.describe Gitlab::Audit::NullTarget do
  subject { described_class.new }

  describe '#id' do
    it 'returns nil' do
      expect(subject.id).to eq(nil)
    end
  end

  describe '#type' do
    it 'returns nil' do
      expect(subject.type).to eq(nil)
    end
  end

  describe '#details' do
    it 'returns nil' do
      expect(subject.details).to eq(nil)
    end
  end
end