2022-08-27 11:52:29 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
require 'fast_spec_helper'
|
2022-08-27 11:52:29 +05:30
|
|
|
|
|
|
|
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
|